blob: bdf8c692d25d1d06a77b2a93e370a1d624f3ccd6 [file] [log] [blame]
darinec375482007-01-06 01:36:24 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<html>
bdakine156faa2006-10-02 23:25:58 +00003 <head>
4 <title>CSS 2.1 Test Suite: Implied counter scopes with no 'counter-increment' or 'counter-reset'</title>
darinec375482007-01-06 01:36:24 +00005 <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">
bdakine156faa2006-10-02 23:25:58 +00008 <style type="text/css">
9
darinec375482007-01-06 01:36:24 +000010 body { white-space: nowrap; }
11
12
bdakine156faa2006-10-02 23:25:58 +000013 #one:before { content: counter(one) }
14 #two:before { content: counter(two) }
15
16 </style>
17 </head>
18 <body>
19
20 <p>The following should be identical:</p>
21
22 <div><span id="one"></span><span id="two"></span></div>
23 <div>00</div>
24
25 </body>
26</html>