Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t1202-counter-16-f.html
blobab881be995b62caeb2ab08d3c07e40b3d2803431
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">
10 body { white-space: nowrap; }
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);
24 </style>
25 </head>
26 <body>
28 <p>The following two lines should look the same:</p>
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>
45 <div>
58 </div>
60 </body>
61 </html>