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>
33 lines
858 B
HTML
33 lines
858 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Text level 4 Test: word-break: auto-phrase hyphenation</title>
|
|
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
|
|
<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-break-property">
|
|
<link rel="match" href="reference/word-break-auto-phrase-006-ref.html">
|
|
<meta name="assert" content="auto-phrase word breaking must suppress hyphenation">
|
|
<style>
|
|
div {
|
|
font-size: 2em;
|
|
border: solid black;
|
|
margin: 5px;
|
|
width: min-content;
|
|
}
|
|
#test1 {
|
|
word-break: auto-phrase;
|
|
hyphens: manual;
|
|
}
|
|
#test2 {
|
|
word-break: auto-phrase;
|
|
hyphens: auto;
|
|
}
|
|
#ref {
|
|
hyphens: none;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if all boxes below are identical.
|
|
|
|
<div id=test1 lang=en>con­sid­era­tion</div>
|
|
<div id=test2 lang=en>consideration</div>
|
|
<div id=ref lang=en>consideration</div>
|