darin | ec37548 | 2007-01-06 01:36:24 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| 2 | <html> |
bdakin | e156faa | 2006-10-02 23:25:58 +0000 | [diff] [blame] | 3 | <head> |
| 4 | <title>CSS 2.1 Test Suite: Implied counter scopes with no 'counter-increment' or 'counter-reset'</title> |
darin | ec37548 | 2007-01-06 01:36:24 +0000 | [diff] [blame] | 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"> |
bdakin | e156faa | 2006-10-02 23:25:58 +0000 | [diff] [blame] | 8 | <style type="text/css"> |
| 9 | |
darin | ec37548 | 2007-01-06 01:36:24 +0000 | [diff] [blame] | 10 | body { white-space: nowrap; } |
| 11 | |
| 12 | |
bdakin | e156faa | 2006-10-02 23:25:58 +0000 | [diff] [blame] | 13 | #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> |