1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <title>CSS
2.1 Test Suite: content: counter(c, upper-roman)
</title>
5 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
6 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/syndata.html#counter"/>
7 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/generate.html#counter-styles"/>
8 <meta http-equiv=
"Content-Style-Type" content=
"text/css"/>
9 <style type=
"text/css">
11 #test { counter-reset: c
; }
12 #test span
{ counter-increment: c
; }
13 #test span:before
{ content: counter
(c
, upper-roman
); }
32 <span style=
"counter-reset: c 48"></span>
34 <span style=
"counter-reset: c 388"></span>
36 <span style=
"counter-reset: c 3488"></span>