2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / css2.1 / t1204-multiple-01-c.html
blobe9a92e829e76a704dc294a68792e3e0db09e029d
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
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) }
17 </style>
18 </head>
19 <body>
21 <p>The following should be identical:</p>
23 <div><span id="one"></span><span id="two"></span></div>
24 <div>12</div>
26 </body>
27 </html>