tor-browser

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

block-height-009.html (752B)


      1 <!DOCTYPE html>
      2 <link rel="help"
      3  href="https://drafts.csswg.org/css-sizing-4/#stretch-fit-sizing">
      4 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/11044">
      5 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      6 <meta name="assert" content="margin ignoring works with min-height:stretch">
      7 
      8 <style>
      9  #reference-overlapped-red {
     10    position: absolute;
     11    background-color: red;
     12    width: 100px;
     13    height: 100px;
     14    z-index: -1;
     15  }
     16 </style>
     17 
     18 <p>Test passes if there is a filled green square and <strong>no red</strong>.
     19 </p>
     20 <div id="reference-overlapped-red"></div>
     21 
     22 <div style="height: 100px;">
     23  <div
     24    style="width: 100px; min-height: stretch; margin-bottom: 50px; background: green;">
     25  </div>
     26 </div>