summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1599841-1-ref.html
blob: 23f2b5c9e36f99d3fcf7f06d086bd58a732acb9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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;
            list-style: none;
        }

        ul.ref li::before {
            content: "\0602";
            background: blue;
            color: white;
        }

        ul.ref.green li::before {
            background: green;
            color: transparent;
        }
    </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="ref green" lang="ur" dir="rtl">
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
</body>

</html>