summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1747272-1.html
blob: 79f3c6007d6227fa5bed05d3fe767c44d5d94316 (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
<html>
  <head>
    <meta charset=UTF-8>
    <title>“Amiri Quran Colored” test</title>
    <style>
      @font-face {
        font-family: AmiriColored;
        font-style: normal;
        font-weight: 400;
        src: url('../fonts/AmiriQuranColored.otf');
      }
      @font-face {
        font-family: AmiriMonochrome;
        font-style: normal;
        font-weight: 400;
        src: url('../fonts/AmiriQuran.otf');
      }
      .test {
        float: left;
        direction: rtl;
        font-size: 330px;
        line-height: 0;
        margin: 10px;
        padding: 0 50px;
        background: blue;
        color: blue;
      }
      .colored {
        font-family: AmiriColored;
      }
      .monochrome {
        font-family: AmiriMonochrome;
      }
    </style>
  </head>
  <div>The Arabic glyphs should NOT be visible against the blue background in either box:</div>
  <div class="test colored">
    <p>اردو
    </p>
  </div>
  <div class="test monochrome">
    <p>اردو
    </p>
  </div>
</html>