mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move block_image.html to wpt reftests.
This commit is contained in:
parent
efc4ce876f
commit
6d5da817e8
6 changed files with 34 additions and 2 deletions
|
@ -555,6 +555,22 @@
|
|||
"url": "/_mozilla/css/block_formatting_context_with_margin_a.html"
|
||||
}
|
||||
],
|
||||
"css/block_image.html": [
|
||||
{
|
||||
"path": "css/block_image.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/500x300_green.html",
|
||||
"=="
|
||||
],
|
||||
[
|
||||
"/_mozilla/css/noteq_500x300_white.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/block_image.html"
|
||||
}
|
||||
],
|
||||
"css/class-namespaces.html": [
|
||||
{
|
||||
"path": "css/class-namespaces.html",
|
||||
|
@ -2636,6 +2652,22 @@
|
|||
"url": "/_mozilla/css/block_formatting_context_with_margin_a.html"
|
||||
}
|
||||
],
|
||||
"css/block_image.html": [
|
||||
{
|
||||
"path": "css/block_image.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/500x300_green.html",
|
||||
"=="
|
||||
],
|
||||
[
|
||||
"/_mozilla/css/noteq_500x300_white.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/block_image.html"
|
||||
}
|
||||
],
|
||||
"css/class-namespaces.html": [
|
||||
{
|
||||
"path": "css/class-namespaces.html",
|
||||
|
|
BIN
tests/wpt/mozilla/tests/css/400x400_green.png
Normal file
BIN
tests/wpt/mozilla/tests/css/400x400_green.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 KiB |
5
tests/wpt/mozilla/tests/css/500x300_green.html
Normal file
5
tests/wpt/mozilla/tests/css/500x300_green.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<html>
|
||||
<body>
|
||||
<div style="width: 500px; height: 300px; background-color: #0f0;"></div>
|
||||
</body>
|
||||
</html>
|
8
tests/wpt/mozilla/tests/css/block_image.html
Normal file
8
tests/wpt/mozilla/tests/css/block_image.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<link rel=match href=500x300_green.html>
|
||||
<link rel=mismatch href=noteq_500x300_white.html>
|
||||
<body>
|
||||
<img style="display: block; width: 500px; height: 300px; background-color: red;"
|
||||
src="400x400_green.png">
|
||||
</body>
|
||||
</html>
|
5
tests/wpt/mozilla/tests/css/noteq_500x300_white.html
Normal file
5
tests/wpt/mozilla/tests/css/noteq_500x300_white.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<html>
|
||||
<body>
|
||||
<div style="width: 500px; height: 300px; background-color: #fff;"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue