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
884 B
HTML
24 lines
884 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Text Test: overflow-wrap: anywhere and intrinsic sizing</title>
|
|
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
|
|
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
|
|
<link rel="help" href="https://drafts.csswg.org/css-text-3/#overflow-wrap-property">
|
|
<link rel="match" href="reference/overflow-wrap-min-content-size-002-ref.html">
|
|
<meta name="assert" content="overflow-wrap:anywhere doesn't break grapheme cluster and min-content intrinsic size should take that into account.">
|
|
<style>
|
|
#wrapper {
|
|
width: 0px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
#test {
|
|
float: left;
|
|
border: 2px solid blue;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if the glyphs are completely inside the blue box.
|
|
<div id="wrapper">
|
|
<div id="test">நிிிிநிிிி</div>
|
|
</div>
|