writing-mode-vlr-table-002-manual.html (819B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>writing mode:vertical-lr, table cell order</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 table columns horizontally, with the top of the table on the left."/> 9 <style type="text/css"> 10 .test { font-size: 34px; } 11 </style> 12 <!-- this is the test --> 13 <style type="text/css"> 14 .test { writing-mode: vertical-lr; } 15 </style> 16 </head> 17 <body> 18 <p class="instructions">Test passes if the numbers increase top-to-bottom, starting on the left.</p> 19 <div class="test"> 20 <table><tbody> 21 <tr><th>1</th><th>2</th></tr> 22 <tr><td>3</td><td>4</td></tr> 23 </tbody></table> 24 </div> 25 </body> 26 </html>