summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/letter-spacing/reference/letter-spacing-bidi-005-ref.xht
blob: d93f98495a42ed1295dd807f9d3bd5ecc1c9b424 (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
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta charset="utf-8" />
    <link rel="author" title="Mike Bremford" href="http://bfo.com" />
    <style>
      .control {
          font: 50px/1 monospace;
          font-kerning: none;
          white-space: pre;
      }
      .red {
          color: red;
          position: absolute;
          z-index: -1;
      }
      .control span {
          background: green;
      }
    </style>
 </head>
 <body>
  <p>Test passes if no red is visible except for anti-aliasing differences, and the green rectangle does not extend beyond B to C.</p>
  <!-- A <ls> <ls> <bg>B <ls> bet <ls> alef <ls> C</bg> <ls> D <gap> -->
  <div class="control red">A  <span>B &#x5d0; &#x5d1; C</span>  D</div>
  <div class="control">A  <span>B &#x5d0; &#x5d1; C</span>  D</div>
  </body>
</html>