Git init
[framework/web/webkit-efl.git] / LayoutTests / css2.1 / t1204-order-00-c.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
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">
9
10   body { white-space: nowrap; }
11
12
13   span.c span:before { content: counter(c); }
14   span.c { counter-reset: c 0; }
15   span.one { counter-reset: c 1; }
16   span.two { counter-increment: c 2; }
17   span.four:before { counter-reset: c 4; }
18   span.eight:before { counter-increment: c 8; }
19   span.c span:after { counter-increment: c 100; counter-reset: c 200; }
20
21   </style>
22  </head>
23  <body>
24
25  <p>The following should be identical:</p>
26
27  <div>
28    <span class="c"><span class=""></span></span>
29    <span class="c"><span class="one"></span></span>
30    <span class="c"><span class="two"></span></span>
31    <span class="c"><span class="two one"></span></span>
32    <span class="c"><span class="four"></span></span>
33    <span class="c"><span class="four one"></span></span>
34    <span class="c"><span class="four two"></span></span>
35    <span class="c"><span class="four two one"></span></span>
36    <span class="c"><span class="eight"></span></span>
37    <span class="c"><span class="eight one"></span></span>
38    <span class="c"><span class="eight two"></span></span>
39    <span class="c"><span class="eight two one"></span></span>
40    <span class="c"><span class="eight four"></span></span>
41    <span class="c"><span class="eight four one"></span></span>
42    <span class="c"><span class="eight four two"></span></span>
43    <span class="c"><span class="eight four two one"></span></span>
44  </div>
45
46  <div>
47    0
48    1
49    2
50    3
51    4
52    4
53    4
54    4
55    8
56    9
57    10
58    11
59    12
60    12
61    12
62    12
63  </div>
64
65  </body>
66 </html>