tor-browser

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

text-autospace-dynamic-001.html (609B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property">
      4 <link rel="match" href="text-autospace-no-001-ref.html">
      5 <link rel="mismatch" href="text-autospace-no-001-mismatch-ref.html">
      6 <style>
      7 :root { text-autospace: normal; }
      8 .no-as { text-autospace: no-autospace; }
      9 </style>
     10 <div class="test no-as">国国AA国国AA国国</div>
     11 <div class="test">国国AA国国AA国国</div>
     12 <script>
     13 document.body.offsetTop;  // Force layout.
     14 for (const element of document.getElementsByClassName('test')) {
     15  element.classList.toggle('no-as');
     16 }
     17 </script>