tor-browser

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

full-width-002.html (2193B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Writing Modes: 'text-combine-upright: all' applied on 2 full-width characters</title>
      6 <link rel="author" title="Masataka Yakura" href="http://google.com/+MasatakaYakura">
      7 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
      8 <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"> <!-- 2016-09-29 -->
      9 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-fullwidth" title="9.1.3.1. Full-width Characters">
     10 <link rel="help" href="https://www.w3.org/TR/css-text-3/#text-transform-property" title="2.1. Case Transforms: the 'text-transform' property">
     11 <link rel="mismatch" href="reference/full-width-002-notcu-notref.html">
     12 <link rel="mismatch" href="reference/full-width-002-horizontal-notref.html">
     13 <meta content="asis should" name="flags">
     14 <meta name="assert" content="When two or more full-width characters are combined, they are first converted to non-full-width characters.">
     15 
     16  <!--
     17  This test is the equivalent of the "23" day in the
     18  <date>2010年2月23日</date> example of example 17 in
     19  section 9.1.3.1 of the specification
     20  -->
     21 
     22 <style>
     23  div
     24    {
     25      font-size: 64px;
     26      writing-mode: vertical-rl;
     27    }
     28 
     29  div > p
     30    {
     31      border: black solid 1px;
     32    }
     33 
     34  span.tcu-all
     35    {
     36      text-combine-upright: all;
     37    }
     38 
     39  span.full-width
     40    {
     41      text-transform: full-width;
     42    }
     43 </style>
     44 </head>
     45 <body>
     46 
     47 <p>Test passes if the glyphs in the 3 rectangles have the <strong>same order</strong>, the <strong>same orientation</strong> and the <strong>same layout</strong>; a different inter-character spacing is considered as PASS.</p>
     48 
     49 <div>
     50 
     51  <p id="test1"><span class="full-width tcu-all">&#x32;&#x38;</span></p>
     52 
     53  <!-- &#x32; is the ISO-Latin1 digit 2 -->
     54 
     55  <!-- &#x38; is the ISO-Latin1 digit 8 -->
     56 
     57  <p id="test2"><span class="tcu-all">&#xFF12;&#xFF18;</span></p>
     58 
     59  <!-- &#xFF12; is the FULLWIDTH DIGIT 2 (≈ <wide> 0032 2)-->
     60 
     61  <!-- &#xFF18; is the FULLWIDTH DIGIT 8 (≈ <wide> 0038 8)-->
     62 
     63  <p id="reference"><span class="tcu-all">28</span></p>
     64 
     65 </div>
     66 
     67 </body>
     68 </html>