list-style-image-003

List-style-image set to 'none'

WeasyPrint

This browser

Flags
image
Assertion
The 'list-style-image' property set to 'none' does not render any 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 set to 'none'</title>
 5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
 6         <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-list-style-image">
 7         <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style">
 8         <meta name="flags" content="image">
 9         <meta name="assert" content="The 'list-style-image' property set to 'none' does not render any image.">
10         <style type="text/css">
11             body
12             {
13                 margin: 50px;
14             }
15             div
16             {
17                 display: list-item;
18                 list-style-type: decimal;
19                 list-style-image: url('support/blue15x15.png');
20                 list-style-image: none;
21             }
22         </style>
23     </head>
24     <body>
25         <p>Test passes if there is a number on the left side of the words "Filler Text".</p>
26         <div>Filler Text</div>
27     </body>
28 </html>