summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1111944-1-list-marker.html
blob: cd7f2eda2b3cd9ea6c1a925e90f1d5a07e4783b5 (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
50
51
52
53
54
55
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
}
div {
  display: inline-block;
  vertical-align: top;
  width: 380px;
  height: 180px;
  border: 1px solid blue;
  margin: 5px;
}
ol {
  margin: 0 12px;
  padding: 40px 0 0 0;
}
li { margin:0; padding:0 }
</style>
</head>
<body>
 Test for list item markers in vertical mode:
 <br>
 <div style="writing-mode:vertical-lr;text-orientation:sideways-right">
  Mode vertical-lr, style lower-roman:
  <ol style="list-style-type:lower-roman">
   <li>one<li>two<li>three<li>four<li>five<li>six<li>seven<li>eight<li>nine<li>ten<li>eleven<li>twelve
  </ol>
 </div>
 <div style="writing-mode:vertical-rl;text-orientation:sideways-right">
  Mode vertical-rl, style hebrew:
  <ol style="list-style-type:hebrew">
   <li>one<li>two<li>three<li>four<li>five<li>six<li>seven<li>eight<li>nine<li>ten<li>eleven<li>twelve
  </ol>
 </div>
 <br>
 <div style="writing-mode:vertical-lr">
  Mode vertical-lr, style trad-chinese-formal:
  <ol style="list-style-type:trad-chinese-formal;padding-top:5em">
   <li>one<li>two<li>three<li>four<li>five<li>six<li>seven<li>eight<li>nine<li>ten<li>eleven<li>twelve
  </ol>
 </div>
 <div style="writing-mode:vertical-rl">
  Mode vertical-rl, style japanese-informal:
  <ol style="list-style-type:japanese-informal;padding-top:5em">
   <li>one<li>two<li>three<li>four<li>five<li>six<li>seven<li>eight<li>nine<li>ten<li>eleven<li>twelve
  </ol>
 </div>
</body>
</html>