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/border-left-5.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/border-left-5.html')
-rw-r--r-- | layout/reftests/pixel-rounding/border-left-5.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/layout/reftests/pixel-rounding/border-left-5.html b/layout/reftests/pixel-rounding/border-left-5.html new file mode 100644 index 0000000000..cc3f784ead --- /dev/null +++ b/layout/reftests/pixel-rounding/border-left-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: 10px; left: 10.5px; width: 10px; border-top: 10px solid green"></div> +<div style="top: 10px; left: 30.5px; height: 10px; border-right: 10px solid green"></div> +<div style="top: 10px; left: 50.5px; width: 10px; border-bottom: 10px solid green"></div> +<div style="top: 10px; left: 70.5px; height: 10px; border-left: 10px solid green"></div> + +<!-- two adjacent borders --> +<div style="top: 10px; left: 90.5px; border-top: 10px solid green; border-right: 10px solid green"></div> +<div style="top: 10px; left: 110.5px; border-bottom: 10px solid green; border-right: 10px solid green"></div> +<div style="top: 10px; left: 130.5px; border-top: 10px solid green; border-left: 10px solid green"></div> +<div style="top: 10px; left: 150.5px; border-bottom: 10px solid green; border-left: 10px solid green"></div> + +<!-- two opposite borders --> +<div style="top: 10px; left: 170.5px; height: 10px; border-left: 5px solid green; border-right: 5px solid green;"></div> +<div style="top: 10px; left: 190.5px; height: 10px; border-left: 5px solid green; border-right: 5px solid green;"></div> +<div style="top: 10px; left: 210.5px; width: 10px; border-top: 5px solid green; border-bottom: 5px solid green"></div> + +<!-- three borders --> +<div style="top: 10px; left: 230.5px; border-top: 5px solid green; border-right: 10px solid green; border-bottom: 5px solid green"></div> +<div style="top: 10px; left: 250.5px; border-top: 5px solid green; border-left: 10px solid green; border-bottom: 5px solid green"></div> +<div style="top: 10px; left: 270.5px; border-left: 5px solid green; border-right: 5px solid green; border-bottom: 10px solid green"></div> +<div style="top: 10px; left: 290.5px; border-left: 5px solid green; border-right: 5px solid green; border-bottom: 10px solid green"></div> +<div style="top: 10px; left: 310.5px; border-left: 5px solid green; border-right: 5px solid green; border-top: 10px solid green"></div> +<div style="top: 10px; left: 330.5px; border-left: 5px solid green; border-right: 5px solid green; border-top: 10px solid green"></div> + +<!-- four borders --> +<div style="top: 10px; left: 350.5px; border-top: 5px solid green; border-right: 5px solid green; border-bottom: 5px solid green; border-left: 5px solid green"></div> +<div style="top: 10px; left: 370.5px; 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: 30px; left: 10.5px; border: 10px solid green; height: 10px; width: 10px"></div> + +</body> +</html> |