t1204-multiple-00-c-test.html (722B)
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"> 3 <head> 4 <title>CSS 2.1 Test Suite: Multiple resets for same counter</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"> 9 10 #one:before { counter-reset: one 1; content: counter(one) } 11 #two:before { counter-reset: two 7 two 2; content: counter(two) } 12 13 </style> 14 </head> 15 <body> 16 17 18 <div><span id="one"></span><span id="two"></span></div> 19 20 </body> 21 </html>