OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <meta charset="utf-8"> |
| 5 <title>CSS Writing Modes: Layout rules of text-combine-upright</title> |
| 6 <link rel="author" title="Masataka Yakura" href="https://google.com/+MasatakaYak
ura"> |
| 7 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-la
yout"> |
| 8 <link rel="match" href="reference/text-combine-upright-layout-rules-001.html"> |
| 9 <meta name="assert" content="Anything outside the 1em-composition does not affec
t layout."> |
| 10 <meta name="flags" content="font"> |
| 11 <style> |
| 12 @font-face { |
| 13 font-family: tcu-font; |
| 14 src: url("support/tcu-font.woff"); |
| 15 } |
| 16 |
| 17 .test { |
| 18 -webkit-writing-mode: vertical-rl; |
| 19 font-size: 3em; |
| 20 font-family: tcu-font; |
| 21 line-height: 160px; |
| 22 } |
| 23 |
| 24 .test > div { |
| 25 margin-right: 16px; |
| 26 line-height: 1em; |
| 27 } |
| 28 |
| 29 .tcy { |
| 30 -webkit-text-combine: horizontal; |
| 31 } |
| 32 |
| 33 .reference { |
| 34 font-size: 3em; |
| 35 } |
| 36 </style> |
| 37 </head> |
| 38 <body> |
| 39 |
| 40 <p>Test passes if there are 2 <strong>identical</strong> rectangles.</p> |
| 41 |
| 42 <div class="test"> |
| 43 <div>0<br>0<span class="tcy">A</span>0<br>0</div> |
| 44 <div class="reference">0</div> |
| 45 </div> |
| 46 |
| 47 </body> |
| 48 </html> |
OLD | NEW |