list-style-019.xht (1542B)
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: list-style - initial value</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="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" /> 12 <link rel="help" href="http://www.w3.org/TR/CSS21/about.html#shorthand" /> 13 <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#specified-value" /> 14 <link rel="help" href="http://www.w3.org/TR/css-cascade-3/#specified" /> 15 <link rel="help" href="http://www.w3.org/TR/css-cascade-4/#specified" /> 16 <link rel="match" href="list-style-019-ref.xht"/> 17 <meta content="image" name="flags" /> 18 <meta content="'list-style' property is a shorthand notation that sets the three properties 'list-style-type', 'list-style-image' and 'list-style-position'. If one of the 3 list-style properties is not specified explicitly, then such 'list-style' property is assigned its initial value as indicated in its property definition." name="assert" /> 19 20 <style type="text/css"><![CDATA[ 21 li 22 { 23 list-style-image: url("support/swatch-red.png"); 24 list-style: decimal inside; 25 } 26 ]]></style> 27 28 </head> 29 30 <body> 31 32 <p>Test passes if there is "1." and <strong>no red</strong>.</p> 33 34 <ul> 35 <li> </li> 36 </ul> 37 38 </body> 39 </html>