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>
40 lines
977 B
HTML
40 lines
977 B
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>
|
|
CSS Text Test - Letter-spacing should not be applied for Cursive Scripts.
|
|
</title>
|
|
<link rel="author" title="Sejal Anand" href="mailto:sejalanand@microsoft.com">
|
|
<link rel="help" href="https://www.w3.org/TR/css-text-3/#cursive-tracking">
|
|
<link rel="match" href="reference/letter-spacing-cursive-001-ref.html">
|
|
<meta name="assert" content="Letter-spacing must not be applied to Arabic text,
|
|
preserving cursive connections.">
|
|
<style>
|
|
div {
|
|
margin: 1em;
|
|
font: 24px serif;
|
|
white-space: nowrap;
|
|
display: inline-block;
|
|
outline: 1px solid gray;
|
|
}
|
|
.letterspacing {
|
|
letter-spacing: 10px; /* Should NOT affect Arabic text */
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
The following test will pass if no spacing appears between letters within
|
|
Arabic words. Both Arabic texts should display identically.
|
|
</p>
|
|
<div class="letterspacing">
|
|
<span>مرحباً</span>
|
|
</div>
|
|
<br>
|
|
<div>
|
|
<span>مرحباً</span>
|
|
</div>
|
|
<br>
|
|
</body>
|
|
</html>
|