writing-mode-vlr-002-manual.html (1133B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>writing mode:vertical-lr, line wrap</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 wrap lines from left to right."/> 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; height: 250px; width: 250px; } 17 .test span { background-color:orange; color:orange; } 18 .test span#end { background-color:blue; color:blue; } 19 </style> 20 <!-- this is the test --> 21 <style type="text/css"> 22 .test { writing-mode: vertical-lr; } 23 </style> 24 </head> 25 <body> 26 <p class="instructions" dir="ltr">Test passes if the blue rectangle is on the right-most side.</p> 27 <div class="test"> 28 <span lang="mn">ᠴᠤᠢᠵᠤᠩᠵᠠᠪ ᠪᠠᠭᠰᠢ ᠶᠢᠨ <span id="end">ᠦᠭᠦᠯᠡᠯ</span></span> 29 </div> 30 </body> 31 </html>