Move inline_block_parent_padding_a.html to wpt reftests.

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

View file

@ -719,6 +719,18 @@
"url": "/_mozilla/css/inline_block_overflow.html"
}
],
"css/inline_block_parent_padding_a.html": [
{
"path": "css/inline_block_parent_padding_a.html",
"references": [
[
"/_mozilla/css/inline_block_parent_padding_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_parent_padding_a.html"
}
],
"css/inline_block_percentage_height_a.html": [
{
"path": "css/inline_block_percentage_height_a.html",
@ -4272,6 +4284,18 @@
"url": "/_mozilla/css/inline_block_overflow.html"
}
],
"css/inline_block_parent_padding_a.html": [
{
"path": "css/inline_block_parent_padding_a.html",
"references": [
[
"/_mozilla/css/inline_block_parent_padding_ref.html",
"=="
]
],
"url": "/_mozilla/css/inline_block_parent_padding_a.html"
}
],
"css/inline_block_percentage_height_a.html": [
{
"path": "css/inline_block_percentage_height_a.html",

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='inline_block_parent_padding_ref.html'>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style type="text/css">
body {
margin: 0;
}
ul {
margin: 0;
padding: 0;
list-style: none;
list-style-type: none;
list-style-image: none;
}
li {
display: inline-block;
padding: 0 100px;
color: red;
background-color: yellow;
}
</style>
</head>
<body>
<ul><li>X</li></ul>
</body>
</html>

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
margin: 0;
}
div {
float: left;
width: 100px;
height: 100px;
}
.red {
background-color: red;
}
.yellow {
background-color: yellow;
}
</style>
</head>
<body>
<div class="yellow"></div>
<div class="red"></div>
<div class="yellow"></div>
</body>
</html>