tor-browser

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

float-replaced-height-007.xht (1364B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Floated replaced elements with percentage based intrinsic height that cannot be resolved</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#inline-replaced-height" />
      7         <link rel="match" href="float-replaced-height-004-ref.xht" />
      8 
      9         <meta name="assert" content="A floated replaced elements with a percentage height that cannot be resolved has no intrinsic height." />
     10         <style type="text/css">
     11             #div1
     12             {
     13                 position: relative;
     14             }
     15             div div
     16             {
     17                 border: solid green;
     18                 height: 150px;
     19                 position: absolute;
     20                 top: 0;
     21                 width: 300px;
     22             }
     23             iframe
     24             {
     25                 border: solid red;
     26                 float: left;
     27                 width: auto;
     28             }
     29         </style>
     30     </head>
     31     <body>
     32         <p>Test passes if there is no red.</p>
     33         <div id="div1">
     34             <iframe height="50%"></iframe>
     35             <div></div>
     36         </div>
     37     </body>
     38 </html>