writing-mode-vrl-005-manual.html (918B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>writing mode:vertical-rl, default Han orientation</title> 6 <link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org"/> 7 <link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#block-flow"/> 8 <meta name="assert" content="By default, writing-mode:vertical-rl will display chinese characters upright."/> 9 <style type="text/css"> 10 .test, .ref { font-size: 24px; float: left; margin-right: 30px; } 11 </style> 12 <!-- this is the test --> 13 <style type="text/css"> 14 .test { writing-mode: vertical-rl; } 15 </style> 16 </head> 17 <body> 18 <p class="instructions" dir="ltr">Test passes if the text is vertical and the Chinese characters are oriented the same way as on the blue background.</p> 19 <div class="test" lang="zh">国际化活动万维网联盟</div> 20 <div class="ref"><img src="support/zh-orientation.png" alt="ref image"/></div> 21 </body> 22 </html>