summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1157752-upright-bidi-ref.html
blob: 6be780e664da699e5e6592ce2fb8bf18c3a9f79f (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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  font: 16px/24px sans-serif;
  padding: 20px;
  width: 300px;
  height: 400px;
}
.sideways {
  -webkit-text-orientation: sideways-right;
  text-orientation: sideways-right;
}
.upright {
  -webkit-text-orientation: upright;
  text-orientation: upright;
}
</style>
</head>

<body>
<div class=sideways>
Bidi עברית text
</div>

<div dir=rtl class=sideways>
Bidi עברית text
</div>

<div class=upright>
<bdo dir=ltr>Bidi עברית text</bdo>
</div>

<div dir=rtl class=upright>
<bdo dir=ltr>Bidi עברית text</bdo>
</div>

</body>
</html>