layout/reftests/counters/t1204-implied-01-c-test.html

branch
TOR_BUG_9701
changeset 11
deefc01c0e14
equal deleted inserted replaced
-1:000000000000 0:9fcab0915a1b
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
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 .i { counter-increment: c 1; }
11 .r { counter-reset: c 0; }
12 .u:before { content: counters(c, ".") " "; }
13
14 </style>
15 </head>
16 <body>
17
18
19 <div><span class="u"></span><span class="r"><span class="i u"></span></span></div>
20
21
22 </body>
23 </html>

mercurial