writing-mode-vlr-005-manual.html (1144B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>writing mode:vertical-lr, default Mongolian 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-lr will display Mongolian characters with the right orientation."/> 9 <style type="text/css"> 10 @font-face { 11 font-family: 'webfont'; 12 src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2'); 13 font-weight: normal; 14 font-style: normal; 15 } 16 .test, .ref { font-family: webfont, serif; font-size: 24px; float: left; margin-right: 30px; } 17 </style> 18 <!-- this is the test --> 19 <style type="text/css"> 20 .test { writing-mode: vertical-rl; } 21 </style> 22 </head> 23 <body> 24 <p class="instructions" dir="ltr">Test passes if text is vertical and the Mongolian characters are oriented the same way as on the blue background.</p> 25 <div class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ ᠤᠯᠤᠰ</div> 26 <div class="ref"><img src="support/mn-orientation.png" alt="ref image"/></div> 27 </body> 28 </html>