tor-browser

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

background-repeat-large-area.html (805B)


      1 <!--
      2     Any copyright is dedicated to the Public Domain.
      3     http://creativecommons.org/publicdomain/zero/1.0/
      4 -->
      5 <!DOCTYPE html>
      6 <html lang="en" class="reftest-wait">
      7 <meta charset="utf-8">
      8 <title>Make sure that repeated background images are painted even at extreme scroll positions</title>
      9 <!-- See https://bugzilla.mozilla.org/show_bug.cgi?id=671302 -->
     10 
     11 <style>
     12 
     13 html {
     14  background-image: url(green-8x20-blue-8x20-vertical.png);
     15  overflow: hidden;
     16 }
     17 
     18 html, body {
     19  margin: 0;
     20 }
     21 
     22 body {
     23  height: 100000px;
     24 }
     25 
     26 div {
     27  height: 1000px;
     28  background-color: red;
     29 }
     30 
     31 </style>
     32 
     33 <div></div>
     34 
     35 <script>
     36 
     37 window.addEventListener("MozReftestInvalidate", function () {
     38  document.documentElement.scrollTop = 16 * 3000; // = 48000 > 32768
     39  document.documentElement.removeAttribute("class");
     40 });
     41 
     42 </script>