tor-browser

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

flexbox-iframe-intrinsic-size-001.html (789B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="Sergio Villar Senin" href="mailto:svillar@igalia.com"/>
      3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item" title="Part E">
      4 <link rel="help" href="https://www.w3.org/TR/css-sizing-3/#intrinsic-sizes" title="For boxes with no preferred aspect ratio">
      5 <link rel="match" href="flexbox-iframe-intrinsic-size-001-ref.html">
      6 <meta name="assert" content="Checks that the default iframe size does not imply having an aspect ratio." />
      7 <style>
      8 div {
      9    display: flex;
     10    height: 400px;
     11 }
     12 
     13 iframe {
     14    flex: 1 1 auto;
     15    border: 0;
     16 }
     17 </style>
     18 <p>This test PASS if you see two equally sized blue and green boxes.</p>
     19 <div>
     20    <iframe style='background: blue;'></iframe>
     21    <iframe style='background: green;'></iframe>
     22 </div>