Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / form-controls-autosizing-fieldset-element-expected.html
bloba516612643dabbfd474925060ccfb38d24cf2598
1 <!DOCTYPE html>
2 <html style="font-size: 16px">
3 <head>
5 <meta name="viewport" content="width=800">
6 <style>
7 body {
8 width: 800px;
9 margin: 0;
10 overflow-y: hidden;
12 fieldset {
13 margin-top: 0.5em;
15 </style>
17 </head>
18 <body>
20 <div style="font-size: 2.5rem">
21 This paragraph should be autosized to 40px computed font-size (16 * 800/320),
22 whereas the input text fields should be rendered at their default font size and
23 the accompanying text below should remain 16px.
24 </div>
26 <div>
27 <fieldset>
28 <legend>Not autosized title</legend>
29 <input type="email" name="email" id="email" value="noautosize@aol.com"> <label for="email">Not autosized email</label>
30 <br>
31 <input type="radio" name="radio" id="radio"> <label for="radio">Not autosized radio</label>
32 </fieldset>
33 </div>
34 <div>
35 <fieldset>
36 <input type="text" name="text" id="text" value="not autosized text">
37 </fieldset>
38 </div>
39 <div>
40 <fieldset>
41 <legend>Not autosized title</legend>
42 This text should not be autosized.
43 </fieldset>
44 </div>
45 <div>
46 <fieldset>
47 <textarea>This text should not be autosized.</textarea>
48 </fieldset>
49 </div>
50 <div style="font-size: 2.5rem">
51 This text should be autosized.
52 </div>
54 </body>
55 </html>