blob: 60a40d96e2019779ff181745c9f86148d111976d [file] [log] [blame]
darin83dae6e2007-01-06 01:36:241<!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 use</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 .r { counter-reset: c 0; }
15 .u:before { content: counters(c, ".") " "; }
16
17 </style>
18 </head>
19 <body>
20
21 <p>The following two lines should be identical:</p>
22
23 <div><span class="u"></span><span class="r"><span class="i u"></span></span></div>
24
25 <div>0 1</div>
26
27 </body>
28</html>