tor-browser

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

dynamic-change-with-overflow-1.html (375B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3  <div style="overflow: hidden;">
      4    Some text.
      5  </div>
      6 
      7  <script>
      8    onload = function() {
      9      var div = document.querySelector("div");
     10      // Make sure layout has happened.
     11      window.width = div.offsetWidth;
     12      div.style.textIndent = "50px";
     13      document.documentElement.className = "";
     14    }
     15  </script>
     16 </html>