text-combine-upright-value-digits2-002.html (983B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Writing Modes: text-combine-upright: digits 2 + two digits</title> 6 <link rel="author" title="Masataka Yakura" href="https://google.com/+MasatakaYakura"> 7 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#text-combine-upright"> 8 <link rel="match" href="reference/vertical-ahem-1x1-ref.html"> 9 <link rel="mismatch" href="reference/horizontal-ahem-1x1-notref.html"> 10 <meta name="assert" content="'text-combine-upright: digits 2' combines two ASCII digits horizontally."> 11 <meta name="flags" content="ahem"> 12 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 13 <style> 14 .test { 15 writing-mode: vertical-rl; 16 font-size: 5em; 17 line-height: 1; 18 font-family: Ahem; 19 } 20 21 .tcy { 22 text-combine-upright: digits 2; 23 } 24 </style> 25 </head> 26 <body> 27 28 <p>Test passes if there are 2 <strong>identical</strong> black squares.</p> 29 30 <div class="test"> 31 <p><span class="tcy">12</span></p> 32 <p>x</p> 33 </div> 34 35 </body> 36 </html>