Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-text-hyphens-hyphenate-limit-chars-001-test.html
Zachary D. Rowitsch 16abbd78e7 Bulk-import 2899 WPT CSS reftests and add import tooling
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>
2026-02-14 00:15:27 -05:00

30 lines
1.0 KiB
HTML

<!DOCTYPE html>
<title>CSS Text: 'hyphens: auto' with a valid 'lang' attribute specification</title>
<link rel="help" href="https://www.w3.org/TR/css-text-3/#hyphenation">
<link rel="match" href="reference/hyphenate-limit-chars-001-ref.html">
<link rel="author" href="mailto:kojii@chromium.org">
<style>
#container > div {
border: black solid 2px;
font-family: monospace;
font-size: 20px;
line-height: 1;
width: 1ch;
hyphens: auto;
hyphenate-character: '-';
}
</style>
<body>
<div lang="en-us" id="container">
<div>example</div>
<div style="hyphenate-limit-chars: 8">example</div>
<div style="hyphenate-limit-chars: auto 2 2">example</div>
<div style="hyphenate-limit-chars: auto 3 2">example</div>
<div style="hyphenate-limit-chars: auto 4 2">example</div>
<div style="hyphenate-limit-chars: auto 5 2">example</div>
<div style="hyphenate-limit-chars: auto 2 3">example</div>
<div style="hyphenate-limit-chars: auto 2 4">example</div>
<div style="hyphenate-limit-chars: auto 3 4">example</div>
</div>
</body>