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>
29 lines
815 B
HTML
29 lines
815 B
HTML
<!DOCTYPE html>
|
||
<meta charset="utf-8">
|
||
<title>Test reference</title>
|
||
<link rel="author" title="Richard Tjokroutomo" href="mailto:richard.tjokro2@gmail.com">
|
||
|
||
<style>
|
||
p {
|
||
width: min-content;
|
||
border: 1px solid #000000;
|
||
overflow: visible;
|
||
white-space: nowrap;
|
||
}
|
||
</style>
|
||
|
||
</style>
|
||
<div>
|
||
<h2>word-break: normal:</h2>
|
||
<p>中文<br>english<br>中文<br>english<br>中文<br>english<br>中文<br>english<br>中文<br>english</p>
|
||
|
||
<h2>word-break: keep-all:</h2>
|
||
<p>中文english中文english中文english中文english中文english</p>
|
||
|
||
<h2>word-break: keep-all (w/ whitespace):</h2>
|
||
<p>中文english中文english<br>中文english中文english中文english</p>
|
||
|
||
<h2>word-break: keep-all (w/ whitespace & Chinese comma):</h2>
|
||
<p>中文english中文english<br>中文english中文,<br>english中文english</p>
|
||
</div>
|