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 /layout/reftests/pixel-rounding/border-top-5.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/pixel-rounding/border-top-5.html')
-rw-r--r-- | layout/reftests/pixel-rounding/border-top-5.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/layout/reftests/pixel-rounding/border-top-5.html b/layout/reftests/pixel-rounding/border-top-5.html new file mode 100644 index 0000000000..e949fd07d5 --- /dev/null +++ b/layout/reftests/pixel-rounding/border-top-5.html @@ -0,0 +1,47 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>Pixel rounding testcase</title> +<style type="text/css"> + +html, body { margin: 0; border: none; padding: 0; } +div { position: absolute; } + +</style> +</head> +<body> + +<!-- one border --> +<div style="top: 10.5px; left: 10px; width: 10px; border-top: 10px solid green"></div> +<div style="top: 10.5px; left: 30px; height: 10px; border-right: 10px solid green"></div> +<div style="top: 10.5px; left: 50px; width: 10px; border-bottom: 10px solid green"></div> +<div style="top: 10.5px; left: 70px; height: 10px; border-left: 10px solid green"></div> + +<!-- two adjacent borders --> +<div style="top: 10.5px; left: 90px; border-top: 10px solid green; border-right: 10px solid green"></div> +<div style="top: 10.5px; left: 110px; border-bottom: 10px solid green; border-right: 10px solid green"></div> +<div style="top: 10.5px; left: 130px; border-top: 10px solid green; border-left: 10px solid green"></div> +<div style="top: 10.5px; left: 150px; border-bottom: 10px solid green; border-left: 10px solid green"></div> + +<!-- two opposite borders --> +<div style="top: 10.5px; left: 170px; width: 10px; border-top: 5px solid green; border-bottom: 5px solid green;"></div> +<div style="top: 10.5px; left: 190px; width: 10px; border-top: 5px solid green; border-bottom: 5px solid green;"></div> +<div style="top: 10.5px; left: 210px; height: 10px; border-right: 5px solid green; border-left: 5px solid green"></div> + +<!-- three borders --> +<div style="top: 10.5px; left: 230px; border-right: 5px solid green; border-bottom: 10px solid green; border-left: 5px solid green"></div> +<div style="top: 10.5px; left: 250px; border-right: 5px solid green; border-top: 10px solid green; border-left: 5px solid green"></div> +<div style="top: 10.5px; left: 270px; border-top: 5px solid green; border-bottom: 5px solid green; border-left: 10px solid green"></div> +<div style="top: 10.5px; left: 290px; border-top: 5px solid green; border-bottom: 5px solid green; border-left: 10px solid green"></div> +<div style="top: 10.5px; left: 310px; border-top: 5px solid green; border-bottom: 5px solid green; border-right: 10px solid green"></div> +<div style="top: 10.5px; left: 330px; border-top: 5px solid green; border-bottom: 5px solid green; border-right: 10px solid green"></div> + +<!-- four borders --> +<div style="top: 10.5px; left: 350px; border-top: 5px solid green; border-right: 5px solid green; border-bottom: 5px solid green; border-left: 5px solid green"></div> +<div style="top: 10.5px; left: 370px; border-top: 5px solid green; border-right: 5px solid green; border-bottom: 5px solid green; border-left: 5px solid green"></div> + +<!-- border around space --> +<div style="top: 30.5px; left: 10px; border: 10px solid green; height: 10px; width: 10px"></div> + +</body> +</html> |