summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/bidi-plaintext-br-001.html
blob: 0d96934ad28b0ea9453fcf430c0fec85647c36a8 (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
<!DOCTYPE html>
<title>unicode-bidi: plaintext with forced breaks</title>
<link rel="help" href='https://drafts.csswg.org/css-writing-modes-3/#valdef-unicode-bidi-plaintext'/>
<link rel="match" href='reference/bidi-plaintext-br-001-ref.html'/>
<link rel="author" title="Koji Ishii" href='mailto:kojii@chromium.org'/>
<style>
div.test {
  font-family: Arial;
  line-height: 1;
  width: 10ch;
  border: 1px solid blue;
  unicode-bidi: plaintext;
}
</style>
<body>
  <div class="test">
    &#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;
    MMMMM
  </div>
  <div class="test">
    MMMMM
    &#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;
  </div>
  <div class="test">
    a<br>
    &#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;
    MMMMM
  </div>
  <div class="test">
    a<br>
    MMMMM
    &#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;
  </div>
  <div class="test">
    &#x5D0;<br>
    &#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;
    MMMMM
  </div>
  <div class="test">
    &#x5D0;<br>
    MMMMM
    &#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;&#x5D0;
  </div>
</body>