tor-browser

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

abspos-1.html (695B)


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