list-style-image-002.xht (1121B)
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 using the url() function</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 the url() function properly renders an image." /> 10 <style type="text/css"> 11 body 12 { 13 margin: 50px; 14 } 15 div 16 { 17 display: list-item; 18 list-style-image: url('support/blue15x15.png'); 19 } 20 </style> 21 </head> 22 <body> 23 <p>Test passes if there is a blue box on the left side of the words "Filler Text".</p> 24 <div>Filler Text</div> 25 </body> 26 </html>