Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-text-text-indent-text-indent-abspos-hanging-001-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

31 lines
626 B
HTML

<!DOCTYPE html>
<title>Absolutely positioned objects with `text-indent: hanging'</title>
<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property">
<link rel="match" href="reference/text-indent-abspos-hanging-001-ref.html">
<style>
.test {
line-height: 1;
width: 8ch;
}
.hanging {
text-indent: 2ch hanging;
}
.marker {
display: inline;
position: absolute;
width: 4ch;
height: 1em;
background: lime;
}
</style>
<div class="test">
<div class="hanging">
<span class="marker"></span>
0000
0000
</div>
<div class="hanging">
<span class="marker"></span>
</div>
</div>