list-style-014.xht (1241B)
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 with list-style-image list-style-type list-style-position as values</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" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" /> 8 <meta name="assert" content="The shorthand property 'list-style' applies 'list-style-image', 'list-style-type' and 'list-style-position'." /> 9 <style type="text/css"> 10 body 11 { 12 margin: 50px; 13 } 14 div 15 { 16 display: list-item; 17 list-style: none square inside; 18 } 19 </style> 20 </head> 21 <body> 22 <p>Test passes if the first line of text has a square bullet and the second line of text flows below that square bullet.</p> 23 <div> 24 This is the first line of text.<br /> 25 This is the second line of text. 26 </div> 27 </body> 28 </html>