list-style-image-003.xht (1174B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 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>