c564-list-img-000

list-style-image

WeasyPrint

This browser

Flags
image

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-image</title>
 5   <meta name="flags" content="image">
 6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#list-style-image">
 7   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 8   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 9   <style type="text/css">
10    body { color: navy; }
11    .one {list-style-image: url(support/square-purple.png);}
12    .two {list-style-image: none;}
13   </style>
14   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#lists" title="12.5 Lists">
15  </head>
16  <body>
17   <p>Each bullet should look as described.</p>
18   <ul class="one">
19    <li>purple square</li>
20    <li>purple square</li>
21    <li>purple square</li>
22   </ul>
23   <ul class="two">
24    <li>disc</li>
25    <li>disc</li>
26    <li>disc</li>
27   </ul>
28  </body>
29 </html>