c566-list-stl-001

list-style

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</title>
 5   <meta name="flags" content="image">
 6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#list-style">
 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    ul { list-style: url(support/swatch-green.png) square outside;
11         margin: 3em; padding: 15px; color: red; }
12    li { margin: 0; padding: 0.1em 4em; border: solid blue; }
13    img { margin: 0 0 0 15px; }
14    span { color: black; }
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   <ul class="two">
20     <li><span>⇦ There should be a green square to the left <em>outside this blue box</em>, and no red.</span></li>
21   </ul>
22  </body>
23 </html>