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>
28 lines
662 B
HTML
28 lines
662 B
HTML
<!DOCTYPE html>
|
|
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
|
<link rel="help" href="https://www.w3.org/TR/CSS22/syndata.html#value-def-percentage">
|
|
<link rel="match" href="subpixel-table-width-001-ref.html">
|
|
<meta name="assert" content="A table with width:100% has same actual width as its parent's actual width." />
|
|
|
|
<style>
|
|
.parent {
|
|
background: red;
|
|
}
|
|
|
|
.parent table {
|
|
background: #aaa;
|
|
width: 100%;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
|
|
There should be two grey ~squares with no red showing.
|
|
|
|
<div class="parent" style="width:100.2px">
|
|
<table></table>
|
|
</div>
|
|
|
|
<div class="parent" style="width:100.8px">
|
|
<table></table>
|
|
</div>
|