Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-tables-min-max-size-table-content-box-ref.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

44 lines
1013 B
HTML

<!doctype html>
<title>CSS Test Reference</title>
<meta charset="utf-8">
<style>
html,
body {
color: black;
background-color: white;
font: 16px/0 monospace;
padding: 0;
margin: 0;
}
.table {
box-sizing: content-box;
border: 3px solid black;
padding: 5px;
background: blue content-box;
display: inline-block;
}
.big {
width: 75px;
height: 75px;
}
.td {
padding: 1px;
}
.grid {
display: grid;
width: 75px;
height: 75px;
}
</style>
<div class="table"><div class="td"></div></div><br>
<div class="table" style="min-height: 50px"><div class="td"></div></div><br>
<div class="table" style="min-width: 50px"><div class="td"></div></div><br>
<div class="table"><div class="td"><div class="big"></div></div></div><br>
<div class="table"><div class="td"><div class="big"></div></div></div><br>
<div class="grid"><div class="table" style="max-height: 50px"><div class="td"></div></div></div>
<div class="grid"><div class="table" style="max-width: 50px"><div class="td"></div></div></div>