summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1599841-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1599841-1-ref.html')
-rw-r--r--layout/reftests/bugs/1599841-1-ref.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1599841-1-ref.html b/layout/reftests/bugs/1599841-1-ref.html
new file mode 100644
index 0000000000..ccf3215b7f
--- /dev/null
+++ b/layout/reftests/bugs/1599841-1-ref.html
@@ -0,0 +1,54 @@
+<!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");
+ }
+
+ ul {
+ text-align: right;
+ margin-right: 40px;
+ font-family: "NotoNastaliqUrduWeb", sans-serif;
+ counter-reset: c;
+ list-style: none;
+ }
+
+ ul li::before {
+ content: counter(c, arabic-indic) "؂";
+ counter-increment: c;
+ unicode-bidi: bidi-override;
+ }
+
+ /* Force double-digit numbers to render "backwards" to match the testcase */
+ ul li:nth-child(10)::before {
+ content: "٠١" "؂";
+ }
+
+ ul li:nth-child(12)::before {
+ content: "٢١" "؂";
+ }
+ </style>
+</head>
+
+<body>
+ <ul lang="ur" dir="ltr">
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ <li></li>
+ </ul>
+</body>
+
+</html>