tor-browser

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

text-autospace-004.html (801B)


      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="stylesheet" type="text/css" href="/fonts/ahem.css" />
      5 <link rel="match" href="text-autospace-004-ref.html">
      6 <style>
      7 #container {
      8  writing-mode: sideways-lr;
      9 }
     10 .test {
     11  font-family: Ahem;
     12  font-size: 40px;
     13 }
     14 .normal {
     15  text-autospace: normal;
     16  /* These properties have no effect in sideways-* writing modes,
     17     so should not disable the auto-space insertion: */
     18  text-orientation: upright;
     19  text-combine-upright: all;
     20 }
     21 </style>
     22 <div id="container">
     23  <div class="test normal">国国XX国</div>
     24  <div class="test normal">国。XX国</div>
     25  <div dir="rtl" class="test normal">国国XX国</div>
     26  <div dir="rtl" class="test normal">国。XX国</div>
     27 </div>