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: Multiple increments and resets
</title>
5 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/generate.html#counters"/>
6 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
7 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/syndata.html#counter"/>
8 <style type=
"text/css">
10 body
{ counter-reset: one
7 two
-2; }
11 #one:before
{ counter-increment: one
-6; content: counter
(one
) }
12 #two:before
{ counter-increment: dummy two
7 two two
-4 silly
7; content: counter
(two
) }
19 <div><span id=
"one"></span><span id=
"two"></span></div>