tor-browser

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

1619370-1.html (799B)


      1 <!DOCTYPE HTML>
      2 <html reftest-zoom="1.5" class="reftest-wait">
      3 <head>
      4    <meta charset="UTF-8">
      5    <title>Testcase for bug 1619370</title>
      6    <style>
      7    html, body {
      8        padding: 0;
      9        margin: 0;
     10    }
     11 
     12    html {
     13        background-color: red;
     14    }
     15    </style>
     16 </head>
     17 <body>
     18    <iframe width="500" height="500" scrolling="no" frameborder="0" src="data:text/html,
     19    <div style='background-color: green; width: 100px; height: 100px; position: fixed; top: 495px;'></div>">
     20    </iframe>
     21 
     22    <script type="text/javascript">
     23    function doTest() {
     24        document.documentElement.style["background-color"] = "blue";
     25        document.documentElement.classList.remove("reftest-wait");
     26    }
     27 
     28    window.addEventListener("MozReftestInvalidate", doTest);
     29    </script>
     30 </body>
     31 </html>