OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>CSS 2.1 Test Suite: content: counters(c, ".", upper-roman)</title> | 4 <title>CSS 2.1 Test Suite: content: counters(c, ".", upper-roman)</title> |
5 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-conten
t"> | 5 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-conten
t"> |
6 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"> | 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
"> | 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> | 8 <meta http-equiv="Content-Style-Type" content="text/css"></meta> |
9 <style type="text/css"> | 9 <style type="text/css"> |
10 | 10 |
11 body { white-space: nowrap; } | 11 body { white-space: nowrap; overflow: hidden; } |
12 | 12 |
13 | 13 |
14 body, #test span:first-child { counter-reset: c; } | 14 body, #test span:first-child { counter-reset: c; } |
15 p, #test span { counter-increment: c; } | 15 p, #test span { counter-increment: c; } |
16 #test span:before { content: counters(c, ".", upper-roman); } | 16 #test span:before { content: counters(c, ".", upper-roman); } |
17 | 17 |
18 </style> | 18 </style> |
19 </head> | 19 </head> |
20 <body> | 20 <body> |
21 | 21 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 I.XLIX | 59 I.XLIX |
60 I.L | 60 I.L |
61 I.CCCLXXXIX | 61 I.CCCLXXXIX |
62 I.CCCXC | 62 I.CCCXC |
63 I.MMMCDLXXXIX | 63 I.MMMCDLXXXIX |
64 I.MMMCDXC | 64 I.MMMCDXC |
65 I.MMMCDXCI | 65 I.MMMCDXCI |
66 </div> | 66 </div> |
67 | 67 |
68 </body> | 68 </body> |
69 </html> | 69 </html> |
OLD | NEW |