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>
15 lines
1.0 KiB
HTML
15 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
|
|
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
|
|
<meta name="assert" content="This test checks placement of inflow content with floats present." />
|
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
|
<div style="width: 100px; height: 100px; line-height: 0; background: red; position: relative;">
|
|
<div style="float: left; width: 20px; height: 20px;"></div>
|
|
<div style="height: 30px; background: green;"></div>
|
|
<div style="float: right; width: 40px; height: 20px; background: green;"></div>
|
|
<div style="float: right; clear: right; width: 50px; height: 50px; background: green;"></div>
|
|
<div style="float: left; width: 50px; height: 50px; background: green;"></div>
|
|
<span style="display: inline-block; width: 40px; height: 20px; background: green;"></span>
|
|
<div style="position: absolute; width: 20px; height: 20px; background: green; left: 40px; top: 30px;"></div>
|
|
</div>
|