tor-browser

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

block-negative-2b-dyn2.html (498B)


      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: 0;
      9 }
     10 #b {
     11 height: 20px;
     12 background-color: blue;
     13 }
     14 </style>
     15 <script type="text/javascript">
     16 function test() {
     17 document.getElementById('a').style.marginBottom = '-20px';
     18 document.documentElement.removeAttribute('class');
     19 }
     20 document.addEventListener('MozReftestInvalidate', test);
     21 </script>
     22 </head>
     23 <body>
     24 <div id="a"></div>
     25 <div id="b"></div>
     26 </body>
     27 </html>