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>
24 lines
784 B
HTML
24 lines
784 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Text test: hyphenate-character</title>
|
|
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
|
|
<link rel="help" href="https://drafts.csswg.org/css-text-4/#hyphenate-character">
|
|
<link rel="match" href="reference/hyphenate-character-005-ref.html">
|
|
<meta name="assert" content="Specifies the string that appears at the end of the line before a hyphenation break">
|
|
<style>
|
|
div {
|
|
font: 32px sans-serif;
|
|
margin-left: 10ch;
|
|
width: 3ch;
|
|
hyphenate-character: "\00a0\0640";
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if the word below is hyphenated
|
|
using a right-to-left <i>space+kashida</i> sequence "<span dir=rtl> ـ</span>",
|
|
and shaping is <i>not</i> interrupted.
|
|
|
|
<div dir=rtl lang=ug>
|
|
قىلمىغانلىقى
|
|
</div>
|