tor-browser

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

flex-aspect-ratio-img-row-017.html (804B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
      3 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1700474">
      4 <link rel="help" href="https://crbug.com/1337056">
      5 <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
      6 <meta name="assert"
      7  content="specified size suggestion obeys item's resolvable % main size">
      8 
      9 <style>
     10  #reference-overlapped-red {
     11    position: absolute;
     12    background-color: red;
     13    width: 100px;
     14    height: 100px;
     15    z-index: -1;
     16  }
     17 
     18 </style>
     19 
     20 <p>Test passes if there is a filled green square and <strong>no red</strong>.
     21 </p>
     22 
     23 <div id="reference-overlapped-red"></div>
     24 
     25 <div style="display: flex; width: 100px;">
     26  <img src="support/100x100-green.png" style="width: 100%; flex: 0 0 10px;">
     27 </div>