tor-browser

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

viewport-units-scrollbars-dynamic-001.html (617B)


      1 <!doctype html>
      2 <html>
      3 <meta name="assert" content="There is no horizontal overflow when 100vw is reduced by scrollbar width when the scrollbars are unconditional.">
      4 <link rel="help" href="http://www.w3.org/TR/css3-values/#viewport-relative-lengths">
      5 <link rel="match" href="viewport-units-scrollbars-scroll-vw-001-ref.html">
      6 <body style="margin: 0; padding: 0;">
      7  <p>
      8  Pass Condition: There is no horizontal overflow.
      9  </p>
     10  <div style="width: 100vw; height: 100px; background: orange;"></div>
     11 
     12 <script>
     13  document.body.offsetTop;
     14  document.documentElement.style.overflow = 'scroll';
     15 </script>
     16 
     17 </body>
     18 </html>