tor-browser

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

retained-dl-style-change-stacking-context-2.html (711B)


      1 <html class="reftest-wait">
      2 <head>
      3 <style>
      4  body {
      5    margin: 0px;
      6  }
      7 </style>
      8 </head>
      9 <body>
     10  <div style="transform-origin: left top 0px; transform: translate(50px, 0px) scale(0.5);">
     11    <div id="first" style="width: 100px; height: 200px; background-color: green; float: left;" class="reftest-no-display-list"></div>
     12    <div id="second" style="width: 100px; height: 200px; position: absolute; transform: translate(100px, 0px); background-color: red;"></div>
     13  </div>
     14 </body>
     15 <script>
     16 function doTest() {
     17  document.getElementById("second").style.backgroundColor = "green";
     18  document.documentElement.removeAttribute("class");
     19 }
     20 
     21 window.addEventListener("MozReftestInvalidate", doTest);
     22 </script>
     23 </html>