1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
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">
10 body
{ white-space: nowrap
; }
13 .i { counter-increment: c
1; }
14 .r { counter-reset: c
0; }
15 .u:before { content: counters
(c
, ".") " "; }
21 <p>The following two lines should be identical:
</p>
23 <div><span class=
"u"></span><span class=
"r"><span class=
"i u"></span></span></div>