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>
25 lines
719 B
HTML
25 lines
719 B
HTML
<!doctype html>
|
|
<html lang=en>
|
|
|
|
<title>CSS Test: hanging-punctuation - force-end - basic cases</title>
|
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
|
<link rel="help" href="http://www.w3.org/TR/css-text-3/#hanging-punctuation">
|
|
<link rel="match" href="reference/hanging-punctuation-inline-001-ref.html">
|
|
<meta name="assert" content="hanging punctuation applies to inlines">
|
|
<style>
|
|
div { font-size: 2em; }
|
|
#ref { color: blue; }
|
|
#test {
|
|
width: 4em;
|
|
color: orange;
|
|
}
|
|
#test span {
|
|
hanging-punctuation: last;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if the orange and blue pieces of text are laid out identically.
|
|
|
|
<div id=ref>字字字字」</div>
|
|
<div id=test>字字字字<span>」</span></div>
|