tor-browser

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

1188061-1-nsChangeHint_ClearAncestorIntrinsics.html (543B)


      1 <!DOCTYPE HTML>
      2 <style>
      3 
      4 html { writing-mode: vertical-rl; }
      5 
      6 </style>
      7 <body>
      8 
      9 <p>The following blue box should have uniform padding around all sides.</p>
     10 
     11 <div style="float: left; background: olive; padding: 5px;">
     12  <div id="c" style="background: blue; height: 200px; width: 100px">
     13  </div>
     14 </div>
     15 
     16 <p style="clear:left">Note that if you zoom the page after it loads
     17 it fixes the problem by causing a reflow.</p>
     18 
     19 <script>
     20 
     21 var div = document.getElementById("c")
     22 var flush_and_ignore = div.offsetTop;
     23 div.style.height = "100px";
     24 
     25 </script>