tor-browser

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

cache-miss-001.html (1071B)


      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://crbug.com/386052671">
      5 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      6 <meta name="assert" content="Dynamic height change affects stretched grandchild.">
      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  #target {
     17    /* Use a sans-serif font to reduce likelihood that the 'hi' text draws any
     18       flourishes that happen to generate antialiasing fringe outside the
     19       container: */
     20    font-family: sans-serif;
     21  }
     22 </style>
     23 
     24 <p>Test passes if there is a filled green square and <strong>no red</strong>.
     25 </p>
     26 <div id="reference-overlapped-red"></div>
     27 
     28 <div id="target" style="width: 100px;">
     29  <div style="height: 100%;">
     30    <div style="height: -webkit-fill-available; background: green; color: green">hi</div>
     31  </div>
     32 </div>
     33 <script>
     34  document.body.offsetTop;
     35  target.style.height = '100px';
     36 </script>