tor-browser

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

block-no-content-6-dyn.html (626B)


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