mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
42 lines
No EOL
1.2 KiB
HTML
42 lines
No EOL
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html><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.htm" 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> |