Git init
[framework/web/webkit-efl.git] / LayoutTests / css2.1 / t1204-implied-02-d.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3  <head>
4   <title>CSS 2.1 Test Suite: Implied counter scopes by 'counter-increment'</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   .i { counter-increment: c 1; }
14   .ib:before { counter-increment: c 1; content: "B" }
15   .r { counter-reset: c 0; }
16   .u:before { content: counters(c, ".") " "; }
17
18   </style>
19  </head>
20  <body>
21
22  <p>The following two lines should be identical:</p>
23
24  <div><span class="ib"><span class="u"></span><span class="r"><span class="u"></span></span></span><span class="i"><span class="u"></span><span class="r"><span class="u"></span></span></span></div>
25
26  <div>B1 0 1 1.0</div>
27
28  </body>
29 </html>