Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css2-floats-new-fc-relayout-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

16 lines
904 B
HTML

<!DOCTYPE html>
<title>New formatting context relayout</title>
<link rel="author" title="Ian Kilpatrick" href="ikilpatrick@chromium.org">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/2452">
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="width: 100px; line-height: 0;">
<div style="float: right; width: 50px; height: 50px; background: green;"></div>
<div style="float: right; width: 75px; height: 50px; background: green;"></div>
<div style="overflow: hidden;">
<div style="display: inline-block; width: 25px; height: 75px; background: green;"></div>
<div style="display: inline-block; width: 25px; height: 25px; background: green;"></div>
</div>
<div style="position: relative; width: 25px; height: 50px; background: green; top: -100px; left: 25px;"></div>
</div>