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>
31 lines
1003 B
HTML
31 lines
1003 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<title>CSS Text Test: tab-size: bloc container</title>
|
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.neat">
|
|
<link rel="help" href="http://www.w3.org/TR/css-text-3/#tab-size">
|
|
<link rel="match" href="tab-size-integer-004-ref.html">
|
|
<meta name="assert" content="Integer tab sizes are based on the nearest block container ancestor, not on the tab itself">
|
|
<style>
|
|
div {
|
|
white-space: pre;
|
|
tab-size: 2; /* Overridden, as tab-size applies to inline boxes */
|
|
}
|
|
span {
|
|
tab-size: 4;
|
|
|
|
/* Various factors that are taken into account in the calculation of the tab size,
|
|
but do not matter here because it must be calculated based on the block container
|
|
rather than the inline.
|
|
*/
|
|
font-size: 2em;
|
|
font-family: monospace;
|
|
letter-spacing: 5px;
|
|
word-spacing: 5px;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if the two “X” letters bellow are vertically algined.
|
|
|
|
<div><span>	X<span></div>
|
|
<div class=ref> <span>X<span></div>
|