diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /layout/reftests/bugs/1599841-2.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/bugs/1599841-2.html')
-rw-r--r-- | layout/reftests/bugs/1599841-2.html | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1599841-2.html b/layout/reftests/bugs/1599841-2.html new file mode 100644 index 0000000000..17596cf8ca --- /dev/null +++ b/layout/reftests/bugs/1599841-2.html @@ -0,0 +1,55 @@ +<!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 7; + 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 <b>increase</b> half-way down:</p> + + <ul class="ref" lang="ur" dir="rtl"> + <li></li> + </ul> + + <ul class="test" lang="ur" dir="rtl"> + <li></li> + <li></li> + <!-- list item numbers 10-11 *should* make the subtending mark wider --> + <li></li> + <li></li> + </ul> +</body> + +</html> |