tor-browser

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

1709452-1.html (868B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <head>
      4    <meta charset="UTF-8">
      5    <style>
      6    a {
      7        color: rgb(255, 0, 0);
      8    }
      9    </style>
     10 </head>
     11 
     12 <body>
     13    <div style="display: flex;">
     14        <div style="display: block;">
     15            <div style="display: inline; filter: invert(0);">
     16                <a href="#">
     17                    <span>FOO</span>
     18                </a>
     19                <div style="position: absolute; top: 100px; left: 100px;">
     20                    <a id="bar" href="#">BAR</a>
     21                </div>
     22            </div>
     23        </div>
     24    </div>
     25    <script>
     26    function doTest() {
     27      const bar = document.getElementById('bar');
     28      bar.style.color = 'rgb(0, 255, 0)';
     29      document.documentElement.removeAttribute('class');
     30    }
     31    document.addEventListener("MozReftestInvalidate", doTest, false);
     32    </script>
     33 </body>
     34 </html>