summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-dotted/border-dotted-no-radius.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/border-dotted/border-dotted-no-radius.html
parentInitial commit. (diff)
downloadfirefox-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/border-dotted/border-dotted-no-radius.html')
-rw-r--r--layout/reftests/border-dotted/border-dotted-no-radius.html81
1 files changed, 81 insertions, 0 deletions
diff --git a/layout/reftests/border-dotted/border-dotted-no-radius.html b/layout/reftests/border-dotted/border-dotted-no-radius.html
new file mode 100644
index 0000000000..3bf244ea20
--- /dev/null
+++ b/layout/reftests/border-dotted/border-dotted-no-radius.html
@@ -0,0 +1,81 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>dotted border with no 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: dotted;
+ border-color: black;
+ height: 120px;
+ width: 120px;
+ box-sizing: border-box;
+}
+
+.A {
+ /* Rendering with 1px depends on OS due to optimization */
+ border-width: 0px;
+}
+.B {
+ /* Rendering with 2px depends on OS due to optimization */
+ border-width: 0px;
+}
+.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-dotted-no-radius-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-dotted-no-radius-unfilled-mask.png">
+ </div>
+ </body>
+</html>
+