diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /layout/reftests/pixel-rounding/background-image-left-width-4.html | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/pixel-rounding/background-image-left-width-4.html')
-rw-r--r-- | layout/reftests/pixel-rounding/background-image-left-width-4.html | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/layout/reftests/pixel-rounding/background-image-left-width-4.html b/layout/reftests/pixel-rounding/background-image-left-width-4.html new file mode 100644 index 0000000000..f4a86ff754 --- /dev/null +++ b/layout/reftests/pixel-rounding/background-image-left-width-4.html @@ -0,0 +1,70 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>Pixel rounding testcase</title> +<style type="text/css"> + +html, body { margin: 0; border: none; padding: 0; } +div { position: absolute; height: 10px; width: 10.9px; } + +div.i1 { top: 10px; background-image: url(blue-1x1.png); } +div.i3 { top: 30px; background-image: url(blue-3x3.png); } +div.i5 { top: 50px; background-image: url(blue-5x5.png); } +div.i25 { top: 70px; background-image: url(blue-25x25.png); } + +div.p1 { left: 9.5px; background-position: top left; } +div.p2 { left: 29.5px; background-position: top; } +div.p3 { left: 49.5px; background-position: top right; } +div.p4 { left: 69.5px; background-position: left; } +div.p5 { left: 89.5px; background-position: center; } +div.p6 { left: 109.5px; background-position: right; } +div.p7 { left: 129.5px; background-position: bottom left; } +div.p8 { left: 149.5px; background-position: bottom; } +div.p9 { left: 169.5px; background-position: bottom right; } + +</style> +</head> +<body> + +<div class="i1 p1"></div> +<div class="i1 p2"></div> +<div class="i1 p3"></div> +<div class="i1 p4"></div> +<div class="i1 p5"></div> +<div class="i1 p6"></div> +<div class="i1 p7"></div> +<div class="i1 p8"></div> +<div class="i1 p9"></div> + +<div class="i3 p1"></div> +<div class="i3 p2"></div> +<div class="i3 p3"></div> +<div class="i3 p4"></div> +<div class="i3 p5"></div> +<div class="i3 p6"></div> +<div class="i3 p7"></div> +<div class="i3 p8"></div> +<div class="i3 p9"></div> + +<div class="i5 p1"></div> +<div class="i5 p2"></div> +<div class="i5 p3"></div> +<div class="i5 p4"></div> +<div class="i5 p5"></div> +<div class="i5 p6"></div> +<div class="i5 p7"></div> +<div class="i5 p8"></div> +<div class="i5 p9"></div> + +<div class="i25 p1"></div> +<div class="i25 p2"></div> +<div class="i25 p3"></div> +<div class="i25 p4"></div> +<div class="i25 p5"></div> +<div class="i25 p6"></div> +<div class="i25 p7"></div> +<div class="i25 p8"></div> +<div class="i25 p9"></div> + +</body> +</html> |