mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move inline_block_margin_a.html to wpt reftests.
This commit is contained in:
parent
e53feacee7
commit
737c7fa14b
4 changed files with 25 additions and 1 deletions
|
@ -707,6 +707,18 @@
|
|||
"url": "/_mozilla/css/inline_block_img_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_margin_a.html": [
|
||||
{
|
||||
"path": "css/inline_block_margin_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_block_margin_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_block_margin_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_min_width.html": [
|
||||
{
|
||||
"path": "css/inline_block_min_width.html",
|
||||
|
@ -4284,6 +4296,18 @@
|
|||
"url": "/_mozilla/css/inline_block_img_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_margin_a.html": [
|
||||
{
|
||||
"path": "css/inline_block_margin_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inline_block_margin_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inline_block_margin_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_block_min_width.html": [
|
||||
{
|
||||
"path": "css/inline_block_min_width.html",
|
||||
|
|
25
tests/wpt/mozilla/tests/css/inline_block_margin_a.html
Normal file
25
tests/wpt/mozilla/tests/css/inline_block_margin_a.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='inline_block_margin_ref.html'>
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-family: 'ahem';
|
||||
font-size: 100px;
|
||||
margin: 32px;
|
||||
}
|
||||
.ib {
|
||||
display: inline-block;
|
||||
}
|
||||
.yellow {
|
||||
color: #ff0;
|
||||
}
|
||||
.grey {
|
||||
color: #eee;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="grey">X<span class="yellow ib">X</span></div>
|
||||
</body>
|
||||
</html>
|
31
tests/wpt/mozilla/tests/css/inline_block_margin_ref.html
Normal file
31
tests/wpt/mozilla/tests/css/inline_block_margin_ref.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
.yellow {
|
||||
background-color: #ff0;
|
||||
}
|
||||
.grey {
|
||||
background-color: #eee;
|
||||
}
|
||||
.d1 {
|
||||
position: absolute;
|
||||
left: 32px;
|
||||
top: 32px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.d2 {
|
||||
position: absolute;
|
||||
left: 132px;
|
||||
top: 32px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="d1 grey"></div>
|
||||
<div class="d2 yellow"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue