diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/tests/css/css-backgrounds/background-gradient-subpixel-fills-area.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/background-gradient-subpixel-fills-area.html')
-rw-r--r-- | testing/web-platform/tests/css/css-backgrounds/background-gradient-subpixel-fills-area.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-gradient-subpixel-fills-area.html b/testing/web-platform/tests/css/css-backgrounds/background-gradient-subpixel-fills-area.html new file mode 100644 index 0000000000..78d4c99c06 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-gradient-subpixel-fills-area.html @@ -0,0 +1,45 @@ +<!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> |