Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-text-tab-size-tab-size-integer-002-test.html
Zachary D. Rowitsch 16abbd78e7 Bulk-import 2899 WPT CSS reftests and add import tooling
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>
2026-02-14 00:15:27 -05:00

38 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Text Test: tab-size: -4</title>
<link rel="author" title="David Storey" href="mailto:david@openweb.io">
<link rel="reviewer" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
<link rel="help" href="http://www.w3.org/TR/css-text-3/#tab-size">
<link rel="match" href="tab-size-integer-001-ref.html">
<meta name="assert" content="Tab-size negative values are not allowed">
<style type="text/css">
.container {
position: absolute;
}
.green {
position: absolute;
top: 0;
left: 0;
background: green;
}
.red {
position: absolute;
top: 0;
left: 0;
background: red;
tab-size: 4;
tab-size: -4;
}
</style>
</head>
<body>
<p>The test passes if there is no red.</p>
<div class="container">
<pre class="red">&#09;</pre>
<pre class="green"> </pre>
</div>
</body>
</html>