Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-backgrounds-border-top-width-thick-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

26 lines
944 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Borders: border-top-width: thick equals 5px</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#border-width">
<link rel="match" href="reference/border-top-width-5px-ref.html">
<meta name="assert" content="The 'thick' keyword for 'border-top-width' is 5px." />
<style>
.red-if-too-thin { height: 5px; background: red; }
.cb { position: relative; }
.red-if-too-thick { height: 20px; background: red; }
.overlap-red-if-too-thick { height: 20px; background: white; position: absolute; top: 5px; width: 100%; }
.border-test { border-top-style: solid; border-top-width: thick; margin-top: -5px; }
</style>
</head>
<body>
<p>There should be a black line below and no red.</p>
<div class=red-if-too-thin></div>
<div class=cb>
<div class=border-test></div>
<div class=red-if-too-thick></div>
<div class=overlap-red-if-too-thick></div>
</div>
</body>
</html>