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>
23 lines
820 B
HTML
23 lines
820 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Text Test: overflow-wrap: anywhere with fit-content</title>
|
|
<link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com">
|
|
<link rel="help" href="http://www.w3.org/TR/css-text-3/#overflow-wrap-property">
|
|
<link rel="match" href="reference/overflow-wrap-break-word-fit-content-001.html">
|
|
<meta name="assert" content="The 'overflow-wrap: anywhere' must not break non-BMP characters (which might be represented as surrogate pairs internally)">
|
|
<style>
|
|
.test {
|
|
display: inline-block;
|
|
overflow-wrap: anywhere;
|
|
font-size: 20px;
|
|
line-height: 1;
|
|
margin-bottom: .2em;
|
|
}
|
|
</style>
|
|
<body>
|
|
<div id="log"></div>
|
|
<p class="instructions">Tests pass if all lines do not wrap.
|
|
<div><div class="test">𝜋</div></div>
|
|
<div><div class="test">𝜋</div></div>
|
|
</body>
|