css2.1/t090204-display-change-01-b-ao.html is not attaching event listener properly
[WebKit-https.git] / LayoutTests / css2.1 / t1202-counters-12-b.html
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;.", lower-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">
9
10   body { white-space: nowrap; }
11
12
13   body, #test { counter-reset: c; }
14   p, #test span { counter-increment: c; }
15   #test span:before { content: counters(c, ".", lower-alpha); }
16
17   </style>
18  </head>
19  <body>
20
21  <p>The following two lines should look the same:</p>
22
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>
37
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>
52
53  </body>
54 </html>