writing-mode-vlr-table-001-manual.html (1240B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>writing mode:vertical-lr, vertical lines</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 a line of text vertically within a table cell."/> 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: 14px; height: 300px; width: 300px; } 17 .test span { background-color:orange; color:orange; } 18 </style> 19 <!-- this is the test --> 20 <style type="text/css"> 21 .test { writing-mode: vertical-lr; } 22 </style> 23 </head> 24 <body> 25 <p class="instructions" dir="ltr">Test passes if you see 4 tall, thin orange rectangles.</p> 26 <div class="test"> 27 <table><tbody> 28 <tr><th><span lang="mn">ᠮᠤᠩᠭᠤᠯ</span></th><td><span lang="mn">ᠮᠤᠩᠭᠤᠯ</span></td></tr> 29 <tr><th><span lang="mn">ᠮᠤᠩᠭᠤᠯ</span></th><td><span lang="mn">ᠮᠤᠩᠭᠤᠯ</span></td></tr> 30 </tbody></table> 31 </div> 32 </body> 33 </html>