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>
38 lines
878 B
HTML
38 lines
878 B
HTML
<!DOCTYPE html>
|
|
<title>Overflow hidden and captions</title>
|
|
<link rel="author" title="Aleks Totic" href="atotic@chromium.org" />
|
|
<link rel="help" href="https://www.w3.org/TR/css-tables-3/#global-style-overrides" />
|
|
<link rel="match" href="overflow-hidden-table-ref.html" />
|
|
<meta name="assert" content="Overflow hidden clips table grid, but not captions.">
|
|
<style>
|
|
main * {
|
|
box-sizing: border-box;
|
|
}
|
|
main table {
|
|
overflow: hidden;
|
|
border: 20px solid green;
|
|
border-spacing: 0px;
|
|
}
|
|
main caption {
|
|
height: 30px;
|
|
background: lightblue;
|
|
}
|
|
main td {
|
|
padding:0px;
|
|
width: 50px;
|
|
height:50px;
|
|
}
|
|
</style>
|
|
<main>
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<div style="width:50px;height:50px">
|
|
<div style="width:500px;height:500px;background:pink"></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<caption style="caption-side:bottom">caption</caption>
|
|
</table>
|
|
</main>
|