writing-mode-vrl-007-manual.html (994B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>writing mode:vertical-rl, default Latin 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="writing-mode:vertical-lr will display Latin characters rotated 90° right by default."/> 9 <style type="text/css"> 10 .test { font-size: 24px; float: left; margin-right: 30px; color: #ccc; } 11 span[lang=en] { color: black; } 12 </style> 13 <!-- this is the test --> 14 <style type="text/css"> 15 .test { writing-mode: vertical-rl; } 16 </style> 17 </head> 18 <body> 19 <p class="instructions">Test passes if the text runs vertically and the orientation of the Latin characters is the same as on the blue background.</p> 20 <div class="test" lang="zh-hans">国际化活动<span lang="en">W3C i18n</span>万维网联盟</div> 21 <div class="ref"><img src="support/zh+latin.png" alt="ref image"/></div> 22 </body> 23 </html>