2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / css2.1 / t1202-counters-14-b.html
blob39d4bf9891dbab763f77c9130623b607376224d9
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: content: counters(c, &quot;.", upper-alpha)</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 { white-space: nowrap; }
13 body, #test { counter-reset: c; }
14 p, #test span { counter-increment: c; }
15 #test span:before { content: counters(c, ".", upper-alpha); }
17 </style>
18 </head>
19 <body>
21 <p>The following two lines should look the same:</p>
23 <div id="test">
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 <span></span>
34 <span></span>
35 <span></span>
36 </div>
38 <div>
39 A.A
40 A.B
41 A.C
42 A.D
43 A.E
44 A.F
45 A.G
46 A.H
47 A.I
48 A.J
49 A.K
50 A.L
51 </div>
53 </body>
54 </html>