summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/letter-spacing/reference/letter-spacing-bidi-003-ref.xht
blob: d46dd7a36162d2304db9f6dc8d42080867aa4a3e (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
<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;
          width: 14ch;
          font-kerning: none;
          border: 1px solid black;
          white-space: pre;
      }
      .red {
          color: red;
          position: absolute;
          z-index: -1;
      }
    </style>
 </head>
 <body>
  <p>Test passes if no red is visible except for anti-aliasing differences.</p>
  <!-- bet <ls> alef <ls> <space stretched from justification> A <ls> B -->
  <div class="control red">&#x5d0; &#x5d1;<div style="float: right">A B</div></div>
  <div class="control">&#x5d0; &#x5d1;<div style="float: right">A B</div></div>

  <!-- A <ls> B <ls> <space stretched from justification> alef <ls> bet -->
  <div class="control red">A B<div style="float: right">&#x5d0; &#x5d1;</div></div>
  <div class="control">A B<div style="float: right">&#x5d0; &#x5d1;</div></div>
  </body>
</html>