Bug 1801946 [wpt PR 37088] - WebKit export of https://bugs.webkit.org/show_bug.cgi...
[gecko.git] / testing / web-platform / tests / css / css-writing-modes / writing-mode-vlr-forms-003-manual.html
blob624cd242cb5663a555b3e2930c7dd5574950cdb8
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8"/>
5 <title>writing mode:vertical-lr, textarea</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 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;
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">ᠮᠤᠩᠭᠤᠯ W3C i18n ᠤᠯᠤᠰ</textarea>
28 </div>
29 </body>
30 </html>