Unreviewed, rolling out r98483.
[WebKit-https.git] / LayoutTests / css2.1 / t1202-counters-18-f.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3  <head>
4   <title>CSS 2.1 Test Suite: content: counters() error cases</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 0 f 1000; }
14   p, #test span { counter-increment: c; }
15   #test span:before {
16     content: counters(c, ".");
17     content: counters(f);
18     content: counters(f, decimal);
19     content: counters(f, decimal, ".");
20     content: counters(f, ".", decimal, decimal);
21     content: counters(f, ".", decimal, ".");
22     content: counters(f, ".", unknowntype);
23   }
24
25   </style>
26  </head>
27  <body>
28
29  <p>The following two lines should look the same:</p>
30
31  <div id="test">
32    <span></span>
33    <span></span>
34    <span></span>
35    <span></span>
36    <span></span>
37    <span></span>
38    <span></span>
39    <span></span>
40    <span></span>
41    <span></span>
42    <span></span>
43    <span></span>
44  </div>
45
46  <div>
47    1.1
48    1.2
49    1.3
50    1.4
51    1.5
52    1.6
53    1.7
54    1.8
55    1.9
56    1.10
57    1.11
58    1.12
59  </div>
60
61  </body>
62 </html>