tor-browser

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

scrollbar-width-paint-005.html (793B)


      1 <!doctype html>
      2 <html class="reftest-wait">
      3 <meta charset="utf-8">
      4 <title>CSS Scrollbars: scrollbar-width multiple-updates on viewport thin -> auto -> none</title>
      5 <link rel="author" title="Luke Warlow" href="mailto:luke@warlow.dev">
      6 <link rel="match" href="scrollbar-width-paint-005-ref.html">
      7 <link rel="help" href="https://www.w3.org/TR/css-scrollbars-1/">
      8 <script src="/common/reftest-wait.js"></script>
      9 <style>
     10  :root {
     11    overflow: scroll;
     12    scrollbar-width: thin;
     13  }
     14 </style>
     15 <script>
     16  requestAnimationFrame(() => requestAnimationFrame(() => {
     17    document.documentElement.style.scrollbarWidth = 'auto';
     18 
     19    requestAnimationFrame(() => requestAnimationFrame(() => {
     20      document.documentElement.style.scrollbarWidth = 'none';
     21 
     22      takeScreenshot();
     23    }));
     24  }));
     25 </script>