summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1599841-1.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/bugs/1599841-1.html
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1599841-1.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1599841-1.html b/layout/reftests/bugs/1599841-1.html
new file mode 100644
index 0000000000..5582789e9a
--- /dev/null
+++ b/layout/reftests/bugs/1599841-1.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Arabic subtending mark, CSS counter, Noto Nastaliq Urdu</title>
+ <style>
+ @font-face {
+ font-family: "NotoNastaliqUrduWeb";
+ src: url("../fonts/NotoNastaliqUrdu-Regular.ttf") format("truetype");
+ }
+
+ p {
+ margin-right: 40px;
+ text-align: right;
+ }
+
+ ul {
+ font-family: "NotoNastaliqUrduWeb", sans-serif;
+ counter-reset: c;
+ list-style: none;
+ }
+
+ ul.test li::before {
+ content: "\0602" counter(c, arabic-indic);
+ counter-increment: c;
+ background: green;
+ color: transparent; /* hide the glyphs to avoid Windows antialiasing
+ artifacts; we only care about the width */
+ }
+
+ ul.ref li::before {
+ content: "\0602";
+ background: blue;
+ color: white;
+ }
+ </style>
+</head>
+
+<body>
+ <p>The width of the green bar should match the blue reference block:</p>
+
+ <ul class="ref" lang="ur" dir="rtl">
+ <li></li>
+ </ul>
+
+ <ul class="test" lang="ur" dir="rtl">
+ <!-- list item numbers 1-9 should *not* add any width -->
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ </ul>
+</body>
+
+</html>