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>
31 lines
626 B
HTML
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>
|