mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move table_margin_auto_a.html to wpt reftests.
This commit is contained in:
parent
1dd6aeccbc
commit
956409288e
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
21
tests/wpt/mozilla/tests/css/table_margin_auto_a.html
Normal file
21
tests/wpt/mozilla/tests/css/table_margin_auto_a.html
Normal 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>
|
||||
|
21
tests/wpt/mozilla/tests/css/table_margin_auto_ref.html
Normal file
21
tests/wpt/mozilla/tests/css/table_margin_auto_ref.html
Normal 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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue