tor-browser

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

retained-dl-style-change-1.html (525B)


      1 <html class="reftest-wait">
      2 <head>
      3 <style>
      4  div {
      5    width:10px;
      6    height:10px;
      7    background-color:green;
      8    display: inline-block;
      9  }
     10 </style>
     11 </head>
     12 <body id="body">
     13    <div id="first" class="reftest-no-display-list"></div><div id="second" style="background-color:red"></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>