blob: c0b89d49fd0bb38cacb71e7d875ba29bab31da70 (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
<!DOCTYPE HTML>
<link rel="help" href="https://drafts.csswg.org/css-lists/#list-item-counter">
<link rel="match" href="counter-list-item-ref.html">
<style>
li:before {
content: counter(list-item) " ";
}
li:after {
content: " " counter(list-item);
}
</style>
<h2>Test counter(list-item), using generated content</h2>
<div style="float: left; width: 200px">
Ordered lists
<ol>
<li>a</li>
<li>b</li>
<li>c</li>
</ol>
<ol start="30">
<li>a</li>
<li>b</li>
<li>c</li>
</ol>
<ol>
<li>a</li>
<li>b</li>
<li value="30">c</li>
<li>d</li>
<li value="35">e</li>
<li>f</li>
</ol>
</div>
<div style="float: left; width: 200px">
Reversed ordered lists
<ol reversed>
<li>a</li>
<li>b</li>
<li>c</li>
</ol>
<ol start="30" reversed>
<li>a</li>
<li>b</li>
<li>c</li>
</ol>
<ol reversed>
<li>a</li>
<li>b</li>
<li value="30">c</li>
<li>d</li>
<li value="35">e</li>
<li>f</li>
</ol>
</div>
<div style="float: left; width: 200px">
Unordered lists
<ul>
<li>a</li>
<li>b</li>
<li>c</li>
</ul>
<ul>
<li>a</li>
<li>b</li>
<li value="30">c</li>
<li>d</li>
<li value="35">e</li>
<li>f</li>
</ul>
</div>
|