mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move img_block_display_a.html to wpt reftests.
This commit is contained in:
parent
d6bd162268
commit
5892aa71d5
5 changed files with 25 additions and 1 deletions
|
@ -803,6 +803,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/img_block_display_a.html": [
|
||||
{
|
||||
"path": "css/img_block_display_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/img_block_display_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/img_block_display_a.html"
|
||||
}
|
||||
],
|
||||
"css/img_dynamic_remove.html": [
|
||||
{
|
||||
"path": "css/img_dynamic_remove.html",
|
||||
|
@ -4764,6 +4776,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/img_block_display_a.html": [
|
||||
{
|
||||
"path": "css/img_block_display_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/img_block_display_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/img_block_display_a.html"
|
||||
}
|
||||
],
|
||||
"css/img_dynamic_remove.html": [
|
||||
{
|
||||
"path": "css/img_dynamic_remove.html",
|
||||
|
|
BIN
tests/wpt/mozilla/tests/css/100x100_green.png
Normal file
BIN
tests/wpt/mozilla/tests/css/100x100_green.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 215 B |
22
tests/wpt/mozilla/tests/css/img_block_display_a.html
Normal file
22
tests/wpt/mozilla/tests/css/img_block_display_a.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='img_block_display_ref.html'>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'ahem';
|
||||
font-size: 50px;
|
||||
line-height: 1;
|
||||
color: red;
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><img src="100x100_green.png"></div>
|
||||
<div>A</div>
|
||||
</body>
|
||||
</html>
|
21
tests/wpt/mozilla/tests/css/img_block_display_ref.html
Normal file
21
tests/wpt/mozilla/tests/css/img_block_display_ref.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
.ahem {
|
||||
background-color: red;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
position: absolute;
|
||||
top: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><img src="100x100_green.png"></div>
|
||||
<div class="ahem"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue