1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
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 { white-space: nowrap; }
13 body { counter-reset: one 7 two -2; }
14 #one:before { counter-increment: one -6; content: counter(one) }
15 #two:before { counter-increment: dummy two 7 two two -4 silly 7; content: counter(two) }
21 <p>The following should be identical:</p>
23 <div><span id="one"></span><span id="two"></span></div>