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