1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: content: counters(c,
".
", decimal-leading-zero)</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 <meta http-equiv="Content-Style-Type
" content="text/css
"></meta>
9 <style type="text/css
">
11 body { white-space: nowrap; }
14 body, #test span:first-child { counter-reset: c; }
15 p, #test span { counter-increment: c; }
16 #test span:before { content: counters(c, ".", decimal-leading-zero); }
22 <p>The following two lines should look the same:</p>
37 <span style="counter-reset: c
98"></span>