Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t120401-scope-04-d.html
blob9b6436331ab4e815ce47b1faa6c7391a2e1f655a
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: Counter scope and nesting</title>
5 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
8 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
9 <style type="text/css">
11 body { white-space: nowrap; }
14 .reset { counter-reset: c; }
15 .rb:before { counter-reset: c; content: "R"; }
16 .use { counter-increment: c; }
17 .use:before { content: counters(c, ".") " "; }
19 </style>
20 </head>
21 <body>
23 <p>The next two lines should be the same:</p>
25 <div><span class="reset"></span><span class="use"></span><span class="reset"></span><span class="use"></span><span class="rb"><span class="use"></span><span class="reset"></span><span class="use"></span></span></div>
26 <div>1 1 R1.1 1.1</div>
28 </body>
29 </html>