mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add automated test.
This commit is contained in:
parent
232df236a7
commit
1d9d55ce27
5 changed files with 40 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
|||
[border-radius-image.html]
|
||||
expected: FAIL
|
|
@ -896,6 +896,19 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"border-radius-image.html": [
|
||||
"2e30ba4bcb40b0fd50ae2c35992e06423720b26e",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/_mozilla/css/border-radius-image-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"border_black_groove.html": [
|
||||
"49e1647a6f71e320770225ad537b4fd4020bd700",
|
||||
[
|
||||
|
@ -8670,6 +8683,10 @@
|
|||
"0dddcf89d26d6ac1efe7b0d65e5607a3ed771b46",
|
||||
[]
|
||||
],
|
||||
"border-radius-image-ref.html": [
|
||||
"3aa9bea5a48a4d809fabf1108049a24365edb07f",
|
||||
[]
|
||||
],
|
||||
"border_black_solid.html": [
|
||||
"63ef95bef813b5c3a75c0da4cd7773f35db3c5ff",
|
||||
[]
|
||||
|
|
2
tests/wpt/mozilla/meta/css/border-radius-image.html.ini
Normal file
2
tests/wpt/mozilla/meta/css/border-radius-image.html.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[border-radius-image.html]
|
||||
fuzzy: /_mozilla/css/border-radius-image-ref.html:63;696
|
10
tests/wpt/mozilla/tests/css/border-radius-image-ref.html
Normal file
10
tests/wpt/mozilla/tests/css/border-radius-image-ref.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<style>
|
||||
#ref {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: 10px solid black;
|
||||
border-radius: 60px;
|
||||
background-color: #00ff00;
|
||||
}
|
||||
</style>
|
||||
<div id="ref"></div>
|
9
tests/wpt/mozilla/tests/css/border-radius-image.html
Normal file
9
tests/wpt/mozilla/tests/css/border-radius-image.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<link rel="match" href="border-radius-image-ref.html">
|
||||
<!-- Border-radius should apply to the actual image as well as the border -->
|
||||
<style>
|
||||
img {
|
||||
border: 10px solid black;
|
||||
border-radius: 60px;
|
||||
}
|
||||
</style>
|
||||
<img src="/images/green-1x1.png" width=100 height=100>
|
Loading…
Add table
Add a link
Reference in a new issue