Files
rust_browser/tests/external/wpt/fixtures/wpt-css-css-backgrounds-background-gradient-subpixel-fills-area-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

46 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Background Test: Gradient backgrounds should fill the positioning area</title>
<link rel="author" title="schenney" href="mailto:schenney@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-origin">
<link rel="match" href="reference/background-gradient-subpixel-fills-area-ref.html">
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-6800">
<style>
ul {
width: 396.875px;
overflow: auto;
padding: 0;
list-style: none;
background-color: red;
}
li {
float: left;
}
div {
display: block;
width: 19.6875px;
height: 17px;
padding: 20px 10px;
background: linear-gradient(to bottom, green 0%, darkgreen 100%) darkgreen;
}
</style>
</head>
<body>
<ul>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
</ul>
</body>
</html>