tor-browser

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

text-indent-ref.html (491B)


      1 <!DOCTYPE html>
      2 <title>CSS zoom applies to text-indent when specified and inherited</title>
      3 <link rel="author" title="Stefan Zager" href="mailto:szager@chromium.org">
      4 <link rel="help" href="https://drafts.csswg.org/css-viewport/">
      5 
      6 <style>
      7 body {
      8  --scale: 1;
      9 }
     10 div {
     11  font-size: calc(1rem * var(--scale));
     12  text-indent: calc(1rem * var(--scale));
     13 }
     14 .zoom {
     15  --scale: 2;
     16 }
     17 </style>
     18 
     19 <div>unzoomed</div>
     20 <div class="zoom">zoomed</div></div>
     21 <div class="zoom">zoomed inherited</div></div>