summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-dotted/border-dashed-non-integer.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/border-dotted/border-dashed-non-integer.html
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--layout/reftests/border-dotted/border-dashed-non-integer.html80
1 files changed, 80 insertions, 0 deletions
diff --git a/layout/reftests/border-dotted/border-dashed-non-integer.html b/layout/reftests/border-dotted/border-dashed-non-integer.html
new file mode 100644
index 0000000000..96e1d47538
--- /dev/null
+++ b/layout/reftests/border-dotted/border-dashed-non-integer.html
@@ -0,0 +1,80 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>dashed border with non-integer radius</title>
+ <style>
+.box {
+ position: relative;
+ width: 420px;
+ height: 420px;
+}
+.mask {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+}
+
+table {
+ border-collapse: separate;
+ border-spacing: 10px;
+ empty-cells: show;
+}
+td {
+ border-style: dashed;
+ border-radius: 24.01px;
+ border-color: black;
+ height: 120px;
+ width: 120px;
+ box-sizing: border-box;
+}
+
+.A {
+ border-width: 1px;
+}
+.B {
+ border-width: 2px;
+}
+.C {
+ border-width: 6px;
+}
+.D {
+ border-width: 8px;
+}
+.E {
+ border-width: 16px;
+}
+.F {
+ border-width: 24px;
+}
+.G {
+ border-width: 32px;
+}
+.H {
+ border-width: 48px;
+}
+.I {
+ border-width: 60px;
+}
+ </style>
+ </head>
+ <body>
+ <div class="box">
+ <table>
+ <tr><td class="A"></td><td class="B"></td><td class="C"></td></tr>
+ <tr><td class="D"></td><td class="E"></td><td class="F"></td></tr>
+ <tr><td class="G"></td><td class="H"></td><td class="I"></td></tr>
+ </table>
+ <img class="mask" src="border-dashed-radius-non-integer-filled-mask.png">
+ </div>
+ <div class="box">
+ <table>
+ <tr><td class="A"></td><td class="B"></td><td class="C"></td></tr>
+ <tr><td class="D"></td><td class="E"></td><td class="F"></td></tr>
+ <tr><td class="G"></td><td class="H"></td><td class="I"></td></tr>
+ </table>
+ <img class="mask" src="border-dashed-radius-non-integer-unfilled-mask.png">
+ </div>
+ </body>
+</html>
+