tor-browser

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

reftest-wait.html (526B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <title>Test infrastructure should support 'reftest-wait'</title>
      4 <link rel="match" href="reftest-wait-ref.html">
      5 <style>
      6 .marker {
      7    margin-bottom: 10px;
      8    background: red;
      9    height: 50px;
     10    width: 50px;
     11 }
     12 </style>
     13 <script>
     14 setTimeout(function() {
     15    document.querySelector(".marker").style.background = 'green';
     16    document.documentElement.classList.remove("reftest-wait");
     17 }, 1000);
     18 </script>
     19 <div class="marker"></div>
     20 <div>The box above should be green.</div>
     21 </html>