Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-tables-out-of-order-elements-collapsed-border-test.html
Zachary D. Rowitsch 16abbd78e7 Bulk-import 2899 WPT CSS reftests and add import tooling
Add scripts/import_wpt_reftests.py to sparse-clone the upstream WPT repo
and bulk-import qualifying CSS reftests (no JS, no external resources) as
known_fail entries. 23 tests already pass and are promoted. The import
script is idempotent and exposed via `just import-wpt`. CI now prints the
WPT summary (pass=36 known_fail=2877 skip=1) on every run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 00:15:27 -05:00

43 lines
1.2 KiB
HTML

<!DOCTYPE html>
<title>CSS Test: Table border is correct even with out of order tbody, thead, tfoot</title>
<link rel="author" title="Karl Dubost" href="mailto:karlcow@apple.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/tables.html#forming-a-table">
<link rel="match" href="out-of-order-elements-collapsed-border-ref.html">
<style>
table {
border: 3px solid blue;
border-collapse:collapse;}
td, th {height: 20px; width:20px;}
tbody {background-color: gold;}
thead {background-color: pink;}
tfoot {background-color: lightgreen;}
</style>
<table>
<tbody><tr><td></td></tr></tbody>
<thead><tr><th></th></tr></thead>
</table>
<table>
<tfoot><tr><th></th></tr></tfoot>
<tbody><tr><td></td></tr></tbody>
</table>
<table>
<tfoot><tr><th></th></tr></tfoot>
<tbody><tr><td></td></tr></tbody>
<thead><tr><th></th></tr></thead>
</table>
<table>
<tfoot><tr><th></th></tr></tfoot>
<thead><tr><th></th></tr></thead>
<tbody><tr><td></td></tr></tbody>
</table>
<table>
<tbody><tr><td></td></tr></tbody>
<tfoot><tr><th></th></tr></tfoot>
<thead><tr><th></th></tr></thead>
</table>
<table>
<tbody><tr><td></td></tr></tbody>
<thead><tr><th></th></tr></thead>
<tfoot><tr><th></th></tr></tfoot>
</table>