Move inline_block_block_direction_margins_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-19 18:34:07 -04:00
parent 5cf6255622
commit 9dbcaf9f72
4 changed files with 25 additions and 1 deletions

View file

@ -755,6 +755,18 @@
"url": "/_mozilla/css/inline_absolute_out_of_flow_a.html"
}
],
"css/inline_block_block_direction_margins_a.html": [
{
"path": "css/inline_block_block_direction_margins_a.html",
"references": [
[
"/_mozilla/css/inline_block_block_direction_margins_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_block_direction_margins_a.html"
}
],
"css/inline_block_border_a.html": [
{
"path": "css/inline_block_border_a.html",
@ -4452,6 +4464,18 @@
"url": "/_mozilla/css/inline_absolute_out_of_flow_a.html"
}
],
"css/inline_block_block_direction_margins_a.html": [
{
"path": "css/inline_block_block_direction_margins_a.html",
"references": [
[
"/_mozilla/css/inline_block_block_direction_margins_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_block_direction_margins_a.html"
}
],
"css/inline_block_border_a.html": [
{
"path": "css/inline_block_border_a.html",

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='inline_block_block_direction_margins_ref.html'>
<style>
html, body {
margin: 0;
}
span {
display: inline-block;
margin-top: 100px;
margin-bottom: 100px;
}
div {
background: steelblue;
color: white;
}
</style>
</head>
<body>
<div>Four <span>score</span>&nbsp;and seven years ago</div>
</body>
</html>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<style>
html, body {
margin: 0;
}
span {
display: inline-block;
}
div {
padding-top: 100px;
padding-bottom: 100px;
background: steelblue;
color: white;
}
</style>
</head>
<body>
<div>Four <span>score</span>&nbsp;and seven years ago</div>
</body>
</html>