1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
5 <title>CSS Test: content: counter(c, armenian)
</title>
6 <link rel=
"author" title=
"L. David Baron" href=
"http://dbaron.org/">
7 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/generate.html#propdef-content">
8 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/syndata.html#counter">
9 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/generate.html#counter-styles">
10 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
11 <style type=
"text/css">
13 body
{ white-space: nowrap
; }
16 #test { counter-reset: c
; }
17 #test span
{ counter-increment: c
; }
18 #test span:before
{ content: counter
(c
, armenian
); }
24 <p>The following two lines should look the same:
</p>
39 <span style=
"counter-reset: c 19"></span>
40 <span style=
"counter-reset: c 29"></span>
41 <span style=
"counter-reset: c 39"></span>
42 <span style=
"counter-reset: c 49"></span>
43 <span style=
"counter-reset: c 59"></span>
44 <span style=
"counter-reset: c 69"></span>
45 <span style=
"counter-reset: c 79"></span>
46 <span style=
"counter-reset: c 89"></span>
47 <span style=
"counter-reset: c 99"></span>
48 <span style=
"counter-reset: c 199"></span>
49 <span style=
"counter-reset: c 299"></span>
50 <span style=
"counter-reset: c 399"></span>
51 <span style=
"counter-reset: c 499"></span>
52 <span style=
"counter-reset: c 599"></span>
53 <span style=
"counter-reset: c 699"></span>
54 <span style=
"counter-reset: c 799"></span>
55 <span style=
"counter-reset: c 899"></span>
56 <span style=
"counter-reset: c 999"></span>
57 <span style=
"counter-reset: c 1999"></span>
58 <span style=
"counter-reset: c 2999"></span>
59 <span style=
"counter-reset: c 3999"></span>
60 <span style=
"counter-reset: c 4999"></span>
61 <span style=
"counter-reset: c 5999"></span>
62 <span style=
"counter-reset: c 6999"></span>
63 <span style=
"counter-reset: c 7999"></span>
64 <span style=
"counter-reset: c 8999"></span>
65 <span style=
"counter-reset: c 9998"></span>