Move inline_block_with_margin_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-19 18:34:07 -04:00
parent 82ac32c7ae
commit 7f746c3f6d
4 changed files with 25 additions and 1 deletions

View file

@ -707,6 +707,18 @@
"url": "/_mozilla/css/inline_block_percentage_height_a.html"
}
],
"css/inline_block_with_margin_a.html": [
{
"path": "css/inline_block_with_margin_a.html",
"references": [
[
"/_mozilla/css/inline_block_with_margin_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_with_margin_a.html"
}
],
"css/inline_border_baseline_a.html": [
{
"path": "css/inline_border_baseline_a.html",
@ -4080,6 +4092,18 @@
"url": "/_mozilla/css/inline_block_percentage_height_a.html"
}
],
"css/inline_block_with_margin_a.html": [
{
"path": "css/inline_block_with_margin_a.html",
"references": [
[
"/_mozilla/css/inline_block_with_margin_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_with_margin_a.html"
}
],
"css/inline_border_baseline_a.html": [
{
"path": "css/inline_border_baseline_a.html",

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='inline_block_with_margin_ref.html'>
<style type="text/css">
body {
margin: 0;
font-family: 'ahem';
font-size: 100px;
line-height: 1;
}
span {
display: inline-block;
color: yellow;
margin-left: 50px;
margin-right: 50px;
background: yellow;
height: 100px;
width: 100px;
}
</style>
</head>
<body>
<div><span></span><span></span></div>
</body>
</html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
margin: 0;
}
.block0 {
position: absolute;
background-color: yellow;
left: 50px;
top: 0px;
width: 100px;
height: 100px;
}
.block1 {
position: absolute;
background-color: yellow;
left: 250px;
top: 0px;
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<div class="block0"></div>
<div class="block1"></div>
</body>
</html>