writing-mode-vlr-015-manual.html (1050B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>writing mode:vertical-lr, image 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, replaced content such as images is displayed upright."/> 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 { font-family: webfont, serif; font-size: 24px; float: left; margin-right: 30px; color: #ccc; color: #ccc; } 17 </style> 18 <!-- this is the test --> 19 <style type="text/css"> 20 .test { writing-mode: vertical-lr; } 21 </style> 22 </head> 23 <body> 24 <p class="instructions">Test passes if the text is vertical and the world map has north at the top.</p> 25 <div id="test" class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ <img src="support/world.png" alt="ref image"/> ᠤᠯᠤᠰ</div> 26 </body> 27 </html>