Move table_margin_auto_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 22:27:21 -04:00
parent 1dd6aeccbc
commit 956409288e
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_margin_auto_a.html": [
{
"path": "css/table_margin_auto_a.html",
"references": [
[
"/_mozilla/css/table_margin_auto_ref.html",
"=="
]
],
"url": "/_mozilla/css/table_margin_auto_a.html"
}
],
"css/table_padding_a.html": [
{
"path": "css/table_padding_a.html",
@ -2468,6 +2480,18 @@
"url": "/_mozilla/css/table_expansion_to_fit_a.html"
}
],
"css/table_margin_auto_a.html": [
{
"path": "css/table_margin_auto_a.html",
"references": [
[
"/_mozilla/css/table_margin_auto_ref.html",
"=="
]
],
"url": "/_mozilla/css/table_margin_auto_a.html"
}
],
"css/table_padding_a.html": [
{
"path": "css/table_padding_a.html",

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='table_margin_auto_ref.html'>
<style>
body, html {
margin: 0;
}
table {
margin: auto;
width: 0px;
border-spacing: 0;
border: none;
}
</style>
</head>
<body>
<table><tr><td>Foooooooooooooooooooooooooooooo</td></tr></table>
</body>
</html>

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<style>
body, html {
margin: 0;
}
body {
text-align: center;
}
div {
position: relative;
top: 1px;
}
</style>
</head>
<body>
<div>Foooooooooooooooooooooooooooooo</div>
</body>
</html>