summaryrefslogtreecommitdiffstats
path: root/gfx/tests/reftest/1681610-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /gfx/tests/reftest/1681610-ref.html
parentInitial commit. (diff)
downloadfirefox-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 'gfx/tests/reftest/1681610-ref.html')
-rw-r--r--gfx/tests/reftest/1681610-ref.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/gfx/tests/reftest/1681610-ref.html b/gfx/tests/reftest/1681610-ref.html
new file mode 100644
index 0000000000..cb3693cc7f
--- /dev/null
+++ b/gfx/tests/reftest/1681610-ref.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <style>
+ body {
+ margin-left: 100px;
+ font-size: 500%;
+ font-family: Nimbus Sans, sans-serif;
+ }
+ ul {
+ width: 1em; /* This must to be non-zero, for the percentages to work. */
+ }
+ li {
+ /* This clip path is chosen to mask off all the rounded edges of a
+ 'disc' list item marker, to hide the anti-aliased pixels along the
+ round edges of the bullets from the reftest. This makes correctly
+ rendered 'disc' and 'square' list item markers appear identical,
+ while a bogus clear pixel in the middle of a 'disc' marker (the
+ present bug) still shows up.
+
+ The exact placement and rendering of the marker is up to the user
+ agent, so these values are specific to Firefox. The right and left
+ inset values fall outside the usual 0%-100% range because the
+ marker appears to the left of the <li>'s border box. */
+ clip-path: inset(44% 159% 44% -74%);
+ list-style-type: square;
+ }
+ </style>
+ </head>
+ <body>
+ <ul>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ </ul>
+ </body>
+</html>