| <!DOCTYPE html> |
| <html style="font-size: 16px"> |
| <head> |
| |
| <meta name="viewport" content="width=800"> |
| <style> |
| body { |
| width: 800px; |
| margin: 0; |
| overflow-y: hidden; |
| } |
| </style> |
| |
| </head> |
| <body> |
| |
| <div style="font-size: 2.5rem"> |
| This paragraph should be autosized to 40px computed font-size (16 * 800/320), |
| whereas the input text fields should be rendered at their default font size and |
| the accompanying text below should remain 16px. |
| Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor |
| incididunt ut labore et dolore magna aliqua. |
| </div> |
| |
| <div> |
| Text |
| <input type="text" value="Default text"> |
| </div> |
| <div> |
| Email |
| <input type="email"> |
| </div> |
| <div> |
| Number |
| <input type="number"> |
| </div> |
| <div> |
| Password |
| <input type="password"> |
| </div> |
| <div> |
| URL |
| <input type="url"> |
| </div> |
| |
| </body> |
| </html> |