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>
18 lines
688 B
HTML
18 lines
688 B
HTML
<!DOCTYPE html>
|
|
<meta charset="UTF-8">
|
|
<title>CSS Text Test: intrinsic sizing and 'white-space: normal' with Chinese characters</title>
|
|
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
|
|
<link rel="help" href="https://drafts.csswg.org/css-text-3/#line-breaking">
|
|
<link rel="match" href="reference/white-space-intrinsic-size-022-ref.html">
|
|
<meta name="assert" content="
|
|
The max-content size puts all ideographs on the same line.
|
|
The min-content size puts every ideograph on a different line.
|
|
">
|
|
|
|
<div style="width: max-content; border: solid">
|
|
中文<span>中文</span>
|
|
</div>
|
|
<div style="width: min-content; border: solid">
|
|
中文<span>中文</span>
|
|
</div>
|