summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1079154-1-vertical-rl-columns-ref.html
blob: bbf1705df86e88aee7155de67c78b5c5cc5abb81 (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
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
@font-face {
  font-family:test;
  src:url(../fonts/sil/GenR102.ttf);
}
body { width: 500px; height: 300px; writing-mode: vertical-rl;
       font:16px/24px test; margin: 0; border: 1px solid gray; }
div { margin: 10px; background: #eee; }
</style>
</head>

<body>

<div>
First single-column division.
</div>

<div>
<div style="margin: 0; display: inline-block; height: 145px">
Two columns<br>
one<br>two<br>three
</div><div style="margin: 0; display: inline-block; height: 135px; vertical-align: top">
four<br>five<br>six
</div>
</div>

<div>
Another single-column division.
</div>

<div>
<div style="margin: 0; display: inline-block; height: 95px">
Three columns<br>
one
</div><div style="margin: 0; display: inline-block; height: 95px">two<br>three<br>four
</div><div style="margin: 0; display: inline-block; height: 85px; vertical-align: top">five<br>six
</div>
</div>

<div>
Final single-column division.
</div>

</body>
</html>