tor-browser

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

text-indent-parent-dynamic.html (313B)


      1 <!DOCTYPE html>
      2 <html>
      3 <body>
      4 
      5 <div id="x" style="background: lightgreen; height: 3em; width: 400px; padding: 4px;">
      6  <div style="text-indent: 40%; width: 200px; background: yellow;">X</div>
      7 </div>
      8 
      9 <script>
     10 var x = document.getElementById('x');
     11 x.offsetWidth;
     12 x.style.width = '500px';
     13 </script>
     14 </body>
     15 </html>