tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

list-style-position-006.xht (1347B)


      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 (inside principal box) - block box with 'float:left' (as child of principal box)</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   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes"/>
      9   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position"/>
     10   <meta name="assert" content="Since a marker box is the first inline element in the principal box when 'list-style-position:inside', the following block box (floated to the left) must visually appear before the marker box in the rendered document"/>
     11   <style type="text/css">
     12   #test{
     13   color:navy;
     14   display:list-item;
     15   font-size:85px;
     16   list-style-position:inside;
     17   }
     18   #test div{
     19   background:blue;
     20   float:left;
     21   height:100px;
     22   width:100px;
     23   }
     24   </style>
     25  </head>
     26 
     27  <body>
     28   <p>To pass, there <strong>must</strong> be a bullet (filled-in circle) to the right of a square.</p>
     29   <div id="test">
     30    <div>&nbsp;</div>
     31   </div>
     32  </body>
     33 </html>