tor-browser

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

text-autospace-002-ref.html (970B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      4 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      5 <link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property">
      6 <link rel="stylesheet" href="/fonts/ahem.css">
      7 <style>
      8 .test {
      9  font-family: Ahem;
     10  font-size: 40px;
     11 }
     12 .no-autospace {
     13  text-autospace: no-autospace;
     14 }
     15 .normal {
     16  text-autospace: normal;
     17 }
     18 .spacing {
     19  margin: 5px;
     20 }
     21 .spacing-left {
     22  margin-left: 5px;
     23 }
     24 </style>
     25 <div id="container">
     26  <div class="test no-autospace">&#x20000;&#x20000;<span class="spacing">XX</span>&#x20000;</div>
     27  <div class="test no-autospace">&#x20000;。XX<span class="spacing-left">&#x20000;</span></div>
     28  <div dir="rtl" class="test no-autospace">&#x20000;&#x20000;<span class="spacing">XX</span>&#x20000;</div>
     29  <div dir="rtl" class="test no-autospace">&#x20000;。XX<span class="spacing-left">&#x20000;</span></div>
     30 </div>