c563-list-type-001

list-style-type

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <title>CSS Test: list-style-type</title>
 5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#list-style-type">
 6   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 7   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 8   <style type="text/css">
 9    body { color: navy; }
10    .four {list-style-type: lower-roman;}
11    .five {list-style-type: upper-roman;}
12    .six {list-style-type: lower-alpha;}
13    .seven {list-style-type: upper-alpha;}
14    .eight {list-style-type: decimal;}
15   </style>
16   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#lists" title="12.5 Lists">
17  </head>
18  <body>
19   <p>The two columns should look the same, except for alignment.</p>
20   <ol class="four">
21    <li>i.</li>
22    <li>ii.</li>
23    <li>iii.</li>
24   </ol>
25   <ol class="five">
26    <li>I.</li>
27    <li>II.</li>
28    <li>III.</li>
29   </ol>
30   <ol class="six">
31    <li>a.</li>
32    <li>b.</li>
33    <li>c.</li>
34   </ol>
35   <ol class="seven">
36    <li>A.</li>
37    <li>B.</li>
38    <li>C.</li>
39   </ol>
40   <ol class="seven">
41    <li>A.</li>
42    <li>B.</li>
43    <li class="eight">3.</li>
44   </ol>
45  </body>
46 </html>