form-controls-vlr-004-manual.html (1081B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>writing mode:vertical-lr, textarea placeholder</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="flags" content="should"/> 9 <meta name="assert" content="writing-mode:vertical-lr will display a textarea field vertically, and with vertical placeholder text inside."/> 10 <style type="text/css"> 11 @font-face { 12 font-family: 'webfont'; 13 src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2'); 14 font-weight: normal; 15 font-style: normal; 16 } 17 textarea { font-family: webfont; font-size: 34px; } 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">Test passes if the input field is vertical and the text inside it has default vertical settings.</p> 26 <div class="test"> 27 <textarea rows="3" placeholder="ᠮᠤᠩᠭᠤᠯ W3C i18n ᠤᠯᠤᠰ"></textarea> 28 </div> 29 </body> 30 </html>