tor-browser

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

contain-paint-050-ref.html (628B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <title>CSS Containment Test: Scrolling overflow works when paint is contained"</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
      5 <meta name="assert" content="Scrolling overflow works when paint is contained.">
      6 
      7 <script src="/common/reftest-wait.js"></script>
      8 <script src="/common/rendering-utils.js"></script>
      9 
     10 <style>
     11 .content {
     12  height: 100vh;
     13  width: 100%;
     14 }
     15 </style>
     16 
     17 <body>
     18  <div class="content"></div>
     19 
     20 <script>
     21 waitForAtLeastOneFrame().then(() => {
     22  document.body.scrollTop = 100;
     23  takeScreenshot();
     24 });
     25 </script>
     26 
     27 </body>
     28 </html>