1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
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">
10 body
{ white-space: nowrap
; }
13 body
, #test
{ counter-reset: c
0 f
1000; }
14 p
, #test span
{ counter-increment: c
; }
16 content: counters
(c
, ".");
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
);
29 <p>The following two lines should look the same:
</p>