mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
42
tests/wpt/css-tests/css22_dev/html/border-collapse-005.htm
Normal file
42
tests/wpt/css-tests/css22_dev/html/border-collapse-005.htm
Normal file
|
@ -0,0 +1,42 @@
|
|||
<!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>
|
Loading…
Add table
Add a link
Reference in a new issue