| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title>CSS Writing Modes: Layout rules of text-combine-upright</title> | 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"> | 6 <link rel="author" title="Masataka Yakura" href="https://google.com/+MasatakaYak
ura"> |
| 7 <link rel="author" title="Koji Ishii" href="kojiishi@gmail.com"> | 7 <link rel="author" title="Koji Ishii" href="kojiishi@gmail.com"> |
| 8 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-la
yout"> | |
| 9 <meta name="assert" content="Anything outside the 1em-composition does not affec
t layout."> | |
| 10 <meta name="flags" content="ahem"> | 8 <meta name="flags" content="ahem"> |
| 11 <style> | 9 <style> |
| 12 #container { | 10 #container { |
| 13 -webkit-writing-mode: vertical-rl; | 11 -webkit-writing-mode: vertical-rl; |
| 14 font: 50px/1 Ahem; | 12 font: 50px/1 Ahem; |
| 15 } | 13 } |
| 16 #container > div { | 14 #container > div { |
| 17 margin:.2em; | 15 margin:.2em; |
| 18 } | 16 } |
| 19 .tcy { | 17 .tcy { |
| 20 -webkit-text-combine: horizontal; | 18 -webkit-text-combine: horizontal; |
| 21 color:transparent; | 19 color:transparent; |
| 22 } | 20 } |
| 23 </style> | 21 </style> |
| 24 </head> | 22 </head> |
| 25 <body> | 23 <body> |
| 26 <p>Test passes if there are 2 <strong>identical</strong> hollow squares.</p> | 24 <p>Test passes if there are 2 <strong>identical</strong> hollow squares.</p> |
| 27 <div id="container"> | 25 <div id="container"> |
| 28 <div>AAA<br>A A<br>AAA</div> | 26 <div>AAA<br>A A<br>AAA</div> |
| 29 <div>AAA<br>A A<br>AAA</div> | 27 <div>AAA<br>A A<br>AAA</div> |
| 30 </div> | 28 </div> |
| 31 </body> | 29 </body> |
| 32 </html> | 30 </html> |
| OLD | NEW |