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>
39 lines
910 B
HTML
39 lines
910 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
.container {
|
|
font: 16px monospace;
|
|
margin: 1em;
|
|
width: 60ch;
|
|
outline: 1px dashed gray;
|
|
}
|
|
|
|
.text {
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.text-before {
|
|
letter-spacing: -0.15ch;
|
|
margin-bottom: 1em;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.text-after {
|
|
text-wrap-style: stable;
|
|
margin-top: 1em;
|
|
}
|
|
</style>
|
|
|
|
<p>The first two paragraphs should be separately balanced; the third should not use balancing:</p>
|
|
|
|
<div class="container">
|
|
<div class="text-before">
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
|
</div>
|
|
<div class="text">
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
|
</div>
|
|
<div class="text-after">
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
|
</div>
|
|
</div>
|