writing-mode-vrl-forms-004-manual.html (1065B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>writing mode:vertical-rl, 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-rl 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/mplus-1p-regular.woff") format("woff"); 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-rl; } 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>