tor-browser

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

invalidate-svg-scale-1.html (805B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <head>
      4 <meta charset="utf-8">
      5 <title>Bug 1490518</title>
      6 </head>
      7 <body>
      8 <div style="position: absolute; top: 0px; left: 0px; transform: scale(2.0);">
      9    <div style="position: absolute; top: 0px; left: 0px; width: 200px; background: green; height: 50px; will-change: opacity"></div>
     10    <svg width="200" height="200" style="position: absolute; top: 50px; left: 0px;">
     11        <rect x="0" y="0" width="200" height="200" fill="transparent"/>
     12    	<rect x="0" y="0" width="200" height="200" fill="blue" id="rect"/>
     13    </svg>
     14 </div>
     15 
     16 <script>
     17 function doTest() {
     18  document.getElementById("rect").style.visibility = "hidden";
     19  document.documentElement.removeAttribute("class");
     20 }
     21 window.addEventListener("MozReftestInvalidate", doTest);
     22 </script>
     23 </body>
     24 </html>