tor-browser

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

fractional-transform-2.html (609B)


      1 <!DOCTYPE html>
      2 <html lang="en" class="reftest-wait">
      3 <meta charset="utf-8">
      4 <title>Scrolling shouldn't invalidate the square.</title>
      5 
      6 <style>
      7 body {
      8  margin: 0;
      9  height: 5000px;
     10 }
     11 </style>
     12 
     13 <body>
     14 
     15 <svg width="768" height="1000">
     16 
     17  <g transform="translate(0 112.152992)">
     18    <rect x="100" y="650" height="50" width="50" fill="grey" class="reftest-no-paint"/>
     19  </g>
     20 
     21 </svg>
     22 
     23 <script>
     24 
     25 document.documentElement.scrollTop = 709;
     26 
     27 window.addEventListener("MozReftestInvalidate", function (e) {
     28  document.documentElement.scrollTop = 617;
     29  document.documentElement.removeAttribute("class");
     30 });
     31 
     32 </script>