Bug 1802062 [wpt PR 37096] - Add vertical color input tests and re-organize related...
[gecko.git] / testing / web-platform / tests / css / css-writing-modes / forms / manual / form-controls-vlr-002-manual.html
blob9f331a0ec87f69c17557f12f986e6a1318f8a284
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8"/>
5 <title>writing mode:vertical-lr, input type=text 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 an input field for text 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;
17 input { 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 <input type="text" placeholder="ᠮᠤᠩᠭᠤᠯ W3C i18n ᠤᠯᠤᠰ" />
28 </div>
29 </body>
30 </html>