Move inline_block_margin_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-19 18:34:07 -04:00
parent e53feacee7
commit 737c7fa14b
4 changed files with 25 additions and 1 deletions

View file

@ -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",

View 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>

View 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>