Implement Focus UI
[framework/web/webkit-efl.git] / LayoutTests / css2.1 / t1202-counter-16-f.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3  <head>
4   <title>CSS 2.1 Test Suite: content: counter() 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   #test { counter-reset: c 0 f 1000; }
14   #test span { counter-increment: c; }
15   #test span:before {
16     content: counter(c);
17     content: counter(f, ".");
18     content: counter(f, ".", decimal);
19     content: counter(f, decimal, ".");
20     content: counter(f, decimal, decimal);
21     content: counter(f, unknowntype);
22   }
23
24   </style>
25  </head>
26  <body>
27
28  <p>The following two lines should look the same:</p>
29
30  <div id="test">
31    <span></span>
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  </div>
44
45  <div>
46    1
47    2
48    3
49    4
50    5
51    6
52    7
53    8
54    9
55    10
56    11
57    12
58  </div>
59
60  </body>
61 </html>