summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1090159-1.html
blob: eabded9b117710880498f44f9dcb9c409f88bb12 (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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
.h { writing-mode:horizontal-tb; }
.v-lr { writing-mode:vertical-lr; text-orientation:sideways-right; }
.v-rl { writing-mode:vertical-rl; text-orientation:sideways-right; }

div {
  width: 250px;
  height: 250px;
  border: 1px solid red;
  margin: 10px;
  display: inline-block;
  font: 16px monospace;
  line-height: 32px;
}
</style>
</head>

<body>

<div class="h">
你好吗? <span>hello</span>
</div>

<div class="v-lr">
你好吗? <span>hello</span>
</div>

<div class="v-rl">
你好吗? <span>hello</span>
</div>

</body>
</html>