tor-browser

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

unit-vh-vw-overflow-scroll-iframe.html (581B)


      1 <style>
      2  body { overflow: scroll }
      3  div {
      4    width: 10px;
      5    height: 10px;
      6    background-color: #d64203;
      7  }
      8 </style>
      9 
     10 <body>
     11  <div style="width: 50vw"></div>
     12  <div style="height: 25vh"></div>
     13  <div style="width: 35vmin"></div>
     14  <div style="height: 25vmax"></div>
     15 
     16  <!--
     17  Ensure that the scroller positioned the same way as it would be in the
     18  'overflow: auto' case. We'll have scrollbars either way, but we don't
     19  want the '!=' reftest to spuriously succeed because of the scrollers.
     20  -->
     21  <div style="width: 500px; height: 500px; background-color: black">
     22 </body>