mirror of
https://github.com/servo/servo
synced 2026-04-29 02:47:55 +02:00
Update CSS tests to revision 2baa72daab8bf37e3e910a9fd311a1eaa5b0f4a8
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user