tor-browser

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

text-combine-upright-sideways-001.html (732B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <title>CSS test: text-combine-upright has no effect in sideways writing mode</title>
      4 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"/>
      5 <link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#text-combine-upright"/>
      6 <link rel="match" href="reference/text-combine-upright-sideways-001-ref.html"/>
      7 <meta name="fuzzy" content="maxDifference=0-50; totalPixels=0-6">
      8 <style>
      9 .test {
     10  font: 32px sans-serif;
     11  writing-mode: sideways-rl;
     12 }
     13 .combined {
     14  text-combine-upright: all;
     15 }
     16 </style>
     17 <body lang="zh">
     18 <p>Test passes if the digits are NOT rotated or compressed to appear horizontally</p>
     19 <div class="test">中文<span class="combined">1234</span>中文</div>