CLOSED TREE: TraceMonkey merge head. (a=blockers)
[mozilla-central.git] / layout / reftests / counters / t1202-counters-04-b-test.html
blob6fd5e6d1d3eff705301f4bcfd947ce9ddab7da1d
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: content: counters(c, ".", square)</title>
5 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
6 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counter-styles"/>
8 <style type="text/css">
10 body, #test { counter-reset: c; }
11 p, #test span { counter-increment: c; }
12 #test span:before { content: counters(c, ".", square); }
14 </style>
15 </head>
16 <body>
18 <p></p>
20 <div id="test">
21 <span></span>
22 <span></span>
23 <span></span>
24 <span></span>
25 <span></span>
26 <span></span>
27 <span></span>
28 <span></span>
29 <span></span>
30 <span></span>
31 <span></span>
32 <span></span>
33 </div>
36 </body>
37 </html>