Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
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: Order of 'counter-reset', 'counter-increment', and counter use, including pseudo-elements</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 span.c span:before { content: counter(c); }
11 span.c { counter-reset: c 0; }
12 span.one { counter-reset: c 1; }
13 span.two { counter-increment: c 2; }
14 span.four:before { counter-reset: c 4; }
15 span.eight:before { counter-increment: c 8; }
16 span.c span:after { counter-increment: c 100; counter-reset: c 200; }
18 </style>
19 </head>
20 <body>
23 <div>
24 <span class="c"><span class=""></span></span>
25 <span class="c"><span class="one"></span></span>
26 <span class="c"><span class="two"></span></span>
27 <span class="c"><span class="two one"></span></span>
28 <span class="c"><span class="four"></span></span>
29 <span class="c"><span class="four one"></span></span>
30 <span class="c"><span class="four two"></span></span>
31 <span class="c"><span class="four two one"></span></span>
32 <span class="c"><span class="eight"></span></span>
33 <span class="c"><span class="eight one"></span></span>
34 <span class="c"><span class="eight two"></span></span>
35 <span class="c"><span class="eight two one"></span></span>
36 <span class="c"><span class="eight four"></span></span>
37 <span class="c"><span class="eight four one"></span></span>
38 <span class="c"><span class="eight four two"></span></span>
39 <span class="c"><span class="eight four two one"></span></span>
40 </div>
43 </body>
44 </html>