mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
42 lines
No EOL
1.4 KiB
HTML
42 lines
No EOL
1.4 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
|
<meta charset="utf-8" />
|
|
<title>CSS Test (Tables): collapsing borders with empty tbody</title>
|
|
<link href="http://chrisrebert.com" rel="author" title="Chris Rebert" />
|
|
<link href="http://www.w3.org/TR/CSS2/tables.html#collapsing-borders" rel="help" />
|
|
<link href="https://drafts.csswg.org/css2/tables.html#collapsing-borders" rel="help" />
|
|
<link href="https://drafts.csswg.org/css3-tables/#collapsing-borders" rel="help" />
|
|
<link href="reference/border-collapse-005-ref.xht" rel="match" />
|
|
<meta content="" name="flags" />
|
|
<meta content="border-collapse should work correctly when a table has an empty tbody" name="assert" />
|
|
<style>
|
|
table {
|
|
border-collapse: collapse;
|
|
border: 2px solid blue;
|
|
}
|
|
th {
|
|
font-weight: normal;
|
|
text-align: left;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>One</th>
|
|
<th>Two</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody></tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td>Three</td>
|
|
<td>Four</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
<p>Test passes if there is a solid blue border around the <strong>entire perimeter</strong> of the table.</p>
|
|
|
|
|
|
</body></html> |