tor-browser

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

block-negative-1a-dyn1.html (532B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <head>
      4 <style type="text/css">
      5 #a {
      6 height: 20px;
      7 background-color: green;
      8 margin-bottom: 20px;
      9 }
     10 #b {
     11 display: none;
     12 height: 20px;
     13 background-color: blue;
     14 margin-top: -20px;
     15 }
     16 </style>
     17 <script type="text/javascript">
     18 function test() {
     19 document.getElementById('b').style.display = 'block';
     20 document.documentElement.removeAttribute('class');
     21 }
     22 document.addEventListener('MozReftestInvalidate', test);
     23 </script>
     24 </head>
     25 <body>
     26 <div id="a"></div>
     27 <div id="b"></div>
     28 </body>
     29 </html>