tor-browser

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

tcy-white-space-processing-002.html (1147B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Writing Modes Test: white-space:pre space processing in text-combine-horizontal</title>
      4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
      5 <link rel="help" href="https://www.w3.org/TR/css-writing-modes-4/#text-combine-layout">
      6 <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules">
      7 <link rel="match" href="reference/tcy-white-space-processing-002-ref.html">
      8 <meta name="assert" content="Spaces with white-space:pre in a text-combine-upright are preserved">
      9 <style>
     10 .v-rl {
     11  writing-mode: vertical-rl;
     12  width: 200px;
     13 }
     14 span {
     15  -webkit-text-combine: horizontal; /*testing the layout text-combine, not it's support in general*/
     16  text-combine-upright: all;
     17  white-space: pre;
     18 }
     19 #test { color: blue; }
     20 #ref { color: orange; }
     21 </style>
     22 <p>Test passes if the blue and orange lines of text are identical.
     23 
     24 <div class=v-rl>
     25  <div id=test><span>  12</span><span>34  </span><span>5    6</span>えお</div>
     26  <div id=ref><span>&nbsp;&nbsp;12</span><span>34&nbsp;&nbsp;</span><span>5&nbsp;&nbsp;&nbsp;&nbsp;6</span>えお</div>
     27 </div>