list-style-position-004.xht (924B)
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 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 5 <title>CSS Test: Marker box position - list-item overflow - 'list-style-position:outside'</title> 6 <link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style"/> 8 <meta name="flags" content="may"/> 9 <meta name="assert" content="'overflow' applied to the list-item must not clip the marker box"/> 10 <style type="text/css"> 11 #test{ 12 display:list-item; 13 font-size:200px; 14 margin-left:150px; 15 overflow:auto; 16 } 17 </style> 18 </head> 19 <body> 20 <p>To pass, there <strong>must</strong> be a bullet (filled-in circle) below</p> 21 <div id="test"> 22 23 </div> 24 </body> 25 </html>