Move table_padding_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 22:22:23 -04:00
parent 48d345447e
commit 1dd6aeccbc
4 changed files with 25 additions and 1 deletions

View file

@ -615,6 +615,18 @@
"url": "/_mozilla/css/table_expansion_to_fit_a.html"
}
],
"css/table_padding_a.html": [
{
"path": "css/table_padding_a.html",
"references": [
[
"/_mozilla/css/table_padding_ref.html",
"=="
]
],
"url": "/_mozilla/css/table_padding_a.html"
}
],
"css/table_percentage_capping_a.html": [
{
"path": "css/table_percentage_capping_a.html",
@ -2456,6 +2468,18 @@
"url": "/_mozilla/css/table_expansion_to_fit_a.html"
}
],
"css/table_padding_a.html": [
{
"path": "css/table_padding_a.html",
"references": [
[
"/_mozilla/css/table_padding_ref.html",
"=="
]
],
"url": "/_mozilla/css/table_padding_a.html"
}
],
"css/table_percentage_capping_a.html": [
{
"path": "css/table_percentage_capping_a.html",

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='table_padding_ref.html'>
<style type="text/css">
body {
margin: 0;
font-family: 'ahem';
font-size: 100px;
line-height: 1;
}
table {
background:green;
padding: 150px;
box-sizing: content-box;
border-spacing: 0;
}
th {
color: yellow;
padding: 0;
}
</style>
</head>
<body>
<table>
<tbody>
<tr>
<th>X</th>
</tr>
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
margin: 0;
}
.bg {
background-color: green;
width: 400px;
height: 400px;
}
.fg {
background-color: yellow;
position: absolute;
width: 100px;
height: 100px;
left: 150px;
top: 150px;
}
</style>
</head>
<body>
<div class="bg"></div>
<div class="fg"></div>
</body>
</html>