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

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

<body>

<div class="h">
<u>方ABC方方<i>abc</i>方方方<i>xyz</i></u>
</div>

<div class="v-lr">
<u>方ABC方方<i>abc</i>方方方<i>xyz</i></u>
</div>

<div class="v-rl">
<u>方ABC方方<i>abc</i>方方方<i>xyz</i></u>
</div>

</body>
</html>