tor-browser

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

block-non-replaced-height-012.xht (1192B)


      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: Floated children are ignored for 'height' on block-level non-replaced elements in normal flow when 'overflow' does not computes to 'visible'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#normal-block" />
      7         <meta name="assert" content="A floated child element is not considered when sizing the 'height' of a block-level non-replaced element is in normal flow." />
      8         <style type="text/css">
      9             html, body
     10             {
     11                 overflow: scroll;
     12             }
     13             #div1
     14             {
     15                 background: red;
     16             }
     17             div div
     18             {
     19                 float: left;
     20                 height: 1in;
     21                 width: 1in;
     22             }
     23         </style>
     24     </head>
     25     <body>
     26         <p>Test passes if there is no red visible on the page.</p>
     27         <div id="div1">
     28             <div></div>
     29         </div>
     30     </body>
     31 </html>