universal-selector-005.xht (1324B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Test: universal selector - list-style-image</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 <link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite" /> 11 <link rel="author" title="Mark McKenzie-Bell" href="mailto:info@temerity.co.uk" /> 12 <link rel="author" title="Alexander Dawson" href="mailto:alexander_dawson@hotmail.com" /> 13 <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#universal-selector" /> 14 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-list-style-image" /> 15 <link rel="match" href="universal-selector-005-ref.xht"/> 16 <meta name="flags" content="image" /> 17 <meta name="assert" content="The universal selector matches the name of any element type. 'list-style-image' applies to elements with 'display: list-item'." /> 18 19 <style type="text/css"><![CDATA[ 20 body {margin-left: 100px;} 21 * {list-style-image: url("support/cat.png");} 22 ]]></style> 23 24 </head> 25 26 <body> 27 28 <p>Test passes if there is a <strong>cat image</strong>.</p> 29 30 <ul> 31 <li> </li> 32 </ul> 33 34 </body> 35 </html>