diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/backgrounds/background-tiling-zoom-1-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/backgrounds/background-tiling-zoom-1-ref.html')
-rw-r--r-- | layout/reftests/backgrounds/background-tiling-zoom-1-ref.html | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/layout/reftests/backgrounds/background-tiling-zoom-1-ref.html b/layout/reftests/backgrounds/background-tiling-zoom-1-ref.html new file mode 100644 index 0000000000..189dcb4699 --- /dev/null +++ b/layout/reftests/backgrounds/background-tiling-zoom-1-ref.html @@ -0,0 +1,75 @@ +<!DOCTYPE HTML> +<!-- Any copyright is dedicated to the Public Domain. + - http://creativecommons.org/publicdomain/zero/1.0/ --> +<html reftest-zoom="1.3"> +<head> +<title>Pixel rounding testcase</title> +<style type="text/css"> + + html, body { + margin: 0; + border: none; + padding: 0; + } + + div { + background-color: lime; + border: 1px solid black; + margin: 5px; + position: absolute + } + + div.horizontal { + height: 10px; + left: 0px; + } + + div.vertical { + top: 120px; + width: 10px; + } + + div.horizontal-single-color { + height: 10px; + left: 40px; + } + + div.vertical-single-color { + top: 160px; + width: 10px; + } + +</style> +</head> +<body> + +<div class="horizontal" style="top: 0px; width: 30px"></div> +<div class="horizontal" style="top: 20px; width: 30.1px"></div> +<div class="horizontal" style="top: 40px; width: 30.3px"></div> +<div class="horizontal" style="top: 60px; width: 30.5px"></div> +<div class="horizontal" style="top: 80px; width: 30.7px"></div> +<div class="horizontal" style="top: 100px; width: 30.9px"></div> + +<div class="horizontal-single-color" style="top: 0px; width: 30px"></div> +<div class="horizontal-single-color" style="top: 20px; width: 30.1px"></div> +<div class="horizontal-single-color" style="top: 40px; width: 30.3px"></div> +<div class="horizontal-single-color" style="top: 60px; width: 30.5px"></div> +<div class="horizontal-single-color" style="top: 80px; width: 30.7px"></div> +<div class="horizontal-single-color" style="top: 100px; width: 30.9px"></div> + +<div class="vertical" style="left: 0px; height: 30px"></div> +<div class="vertical" style="left: 20px; height: 30.1px"></div> +<div class="vertical" style="left: 40px; height: 30.3px"></div> +<div class="vertical" style="left: 60px; height: 30.5px"></div> +<div class="vertical" style="left: 80px; height: 30.7px"></div> +<div class="vertical" style="left: 100px; height: 30.9px"></div> + +<div class="vertical-single-color" style="left: 0px; height: 30px"></div> +<div class="vertical-single-color" style="left: 20px; height: 30.1px"></div> +<div class="vertical-single-color" style="left: 40px; height: 30.3px"></div> +<div class="vertical-single-color" style="left: 60px; height: 30.5px"></div> +<div class="vertical-single-color" style="left: 80px; height: 30.7px"></div> +<div class="vertical-single-color" style="left: 100px; height: 30.9px"></div> + +</body> +</html> |