tor-browser

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

fractional-transform-1.html (749B)


      1 <!DOCTYPE html>
      2 <html lang="en" class="reftest-wait">
      3 <meta charset="utf-8">
      4 <title>Scrolling shouldn't invalidate either rect.</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 -2000.3234)">
     18    <rect x="100" y="2300" height="50" width="50" fill="grey" class="reftest-no-paint"/>
     19  </g>
     20 
     21  <g transform="translate(0 -4000.6468)">
     22    <rect x="200" y="4300" height="50" width="50" fill="grey" class="reftest-no-paint"/>
     23  </g>
     24 
     25 </svg>
     26 
     27 <script>
     28 
     29 document.documentElement.scrollTop = 177;
     30 
     31 window.addEventListener("MozReftestInvalidate", function (e) {
     32  document.documentElement.scrollTop = 30;
     33  document.documentElement.removeAttribute("class");
     34 });
     35 
     36 </script>