mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move table_specified_width_a.html to wpt reftests.
This commit is contained in:
parent
9d5f09e09c
commit
54d9d813a1
4 changed files with 25 additions and 1 deletions
|
@ -603,6 +603,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/table_specified_width_a.html": [
|
||||
{
|
||||
"path": "css/table_specified_width_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/table_specified_width_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/table_specified_width_a.html"
|
||||
}
|
||||
],
|
||||
"css/transform_optimization.html": [
|
||||
{
|
||||
"path": "css/transform_optimization.html",
|
||||
|
@ -2156,6 +2168,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/table_specified_width_a.html": [
|
||||
{
|
||||
"path": "css/table_specified_width_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/table_specified_width_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/table_specified_width_a.html"
|
||||
}
|
||||
],
|
||||
"css/transform_optimization.html": [
|
||||
{
|
||||
"path": "css/transform_optimization.html",
|
||||
|
|
38
tests/wpt/mozilla/tests/css/table_specified_width_a.html
Normal file
38
tests/wpt/mozilla/tests/css/table_specified_width_a.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel='match' href='table_specified_width_ref.html'>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
table {
|
||||
table-layout: fixed;
|
||||
width: 400px;
|
||||
border-spacing: 0;
|
||||
}
|
||||
td {
|
||||
padding: 0;
|
||||
}
|
||||
.td1 {
|
||||
background: #ff0000;
|
||||
height: 100px;
|
||||
}
|
||||
.td2 {
|
||||
background: #00ff00;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table id="mn">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="td1" width="50">
|
||||
</td>
|
||||
<td class="td2" width="150">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
17
tests/wpt/mozilla/tests/css/table_specified_width_ref.html
Normal file
17
tests/wpt/mozilla/tests/css/table_specified_width_ref.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
.red {
|
||||
color: #ff0000;
|
||||
}
|
||||
.green {
|
||||
color: #00ff00;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body><span class="red">X</span><span class="green">XXX</span></body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue