tor-browser

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

block-height-006.html (874B)


      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"
      7  content="Bottom margin is treated as 0 for stretch sizing even if there is a proceeding float">
      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 </style>
     18 
     19 <p>Test passes if there is a filled green square and <strong>no red</strong>.
     20 </p>
     21 <div id="reference-overlapped-red"></div>
     22 
     23 <div style="height: 100px;">
     24  <div
     25    style="display: flow-root; width: 100px; height: stretch; margin-bottom: 50px; background: green;">
     26  </div>
     27  <div style="float: left; width: 50px; height: 50px;">
     28  </div>
     29 </div>