Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-tables-row-margin-border-padding-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

59 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Table test: table-row border/padding/margin has no effect in border-collapse:separate tables</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<link rel="help" href="https://www.w3.org/TR/CSS22/tables.html#separated-borders">
<link rel="match" href="row-margin-border-padding-ref.html">
<style>
.ltr { direction:ltr; }
.rtl { direction:rtl; }
table, td {
border: 3px solid;
}
.bc table {
border-collapse: collapse;
}
tr.inherited {
border: 3px dashed;
padding: 5px;
margin: 7px;
}
.inherited > td {
border:inherit;
padding:inherit;
margin:inherit;
}
</style>
</head>
<body>
<table class="ltr"><tr style="border: 20px solid"><td></td><td></td></tr></table>
<table class="ltr"><tr style="padding: 20px"><td></td><td></td></tr></table>
<table class="ltr"><tr style="margin: 20px"><td></td><td></td></tr></table>
<table class="rtl"><tr style="border: 20px solid"><td></td><td></td></tr></table>
<table class="rtl"><tr style="padding: 20px"><td></td><td></td></tr></table>
<table class="rtl"><tr style="margin: 20px"><td></td><td></td></tr></table>
<table class="ltr"><tr class="inherited"><td></td><td></td></tr></table>
<table class="rtl"><tr class="inherited"><td></td><td></td></tr></table>
<!-- ditto with border-collapse:collapse -->
<div class="bc">
<table class="ltr"><tr style="border: 20px solid"><td></td><td></td></tr></table>
<table class="ltr"><tr style="padding: 20px"><td></td><td></td></tr></table>
<table class="ltr"><tr style="margin: 20px"><td></td><td></td></tr></table>
<table class="rtl"><tr style="border: 20px solid"><td></td><td></td></tr></table>
<table class="rtl"><tr style="padding: 20px"><td></td><td></td></tr></table>
<table class="rtl"><tr style="margin: 20px"><td></td><td></td></tr></table>
<table class="ltr"><tr class="inherited"><td></td><td></td></tr></table>
<table class="rtl"><tr class="inherited"><td></td><td></td></tr></table>
</div>
</body>
</html>