blob: 9383c43104605bf78a632e3778ad29c4368de315 (
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
|
<!DOCTYPE html>
<link rel="stylesheet" href="test-common.css">
<style type="text/css">
@counter-style cyclic {
system: cyclic;
symbols: '*' '\2020' '\2021' '\A7';
suffix: ' ';
}
@counter-style numeric {
system: numeric;
symbols: '0' '1' '2';
suffix: ' ';
}
@counter-style alphabetic {
system: alphabetic;
symbols: '\26AA' '\26AB';
suffix: ' ';
}
@counter-style symbolic {
system: symbolic;
symbols: '*' '\2020' '\2021' '\A7';
suffix: ' ';
}
@counter-style fixed {
system: fixed;
symbols: '\25F0' '\25F1' '\25F2' '\25F3';
suffix: ' ';
}
@counter-style counter {
symbols: '*';
}
@counter-style counters {
system: numeric;
symbols: '0' '1';
}
.counter { counter-reset: a; }
.counter p { counter-increment: a 1; }
.counter p::after {
content: counter(a, counter);
}
.counter, .counters {
list-style-type: none;
counter-reset: a;
}
.counter li, .counters li {
counter-increment: a;
padding-right: .5em;
}
.counter li::after {
content: counter(a, counter);
}
.counters .counters li::after {
content: counters(a, '.', counters);
}
</style>
<ol start="-2" style="list-style-type: symbolic">
<li><li><li><li><li>
<li><li><li><li><li>
</ol>
<ol start="-2" style="list-style-type: cyclic">
<li><li><li><li><li>
<li><li><li><li><li>
</ol>
<ol start="-2" style="list-style-type: numeric">
<li><li><li><li><li>
<li><li><li><li><li>
</ol>
<ol start="-2" style="list-style-type: alphabetic">
<li><li><li><li><li>
<li><li><li><li><li>
</ol>
<ol start="-2" style="list-style-type: symbolic">
<li><li><li><li><li>
<li><li><li><li><li>
</ol>
<ol start="-2" style="list-style-type: fixed">
<li><li><li><li><li>
<li><li><li><li><li>
</ol>
<ol class="counter">
<li><li><li><li><li>
</ol>
<ol class="counters">
<li><ol class="counters"><li><li><li><li><li></ol></li>
<li><ol class="counters"><li><li><li><li><li></ol></li>
</ol>
|