| <!DOCTYPE html> |
| <html style="font-size: 16px"> |
| <head> |
| <meta name="viewport" content="width=800"> |
| <style> |
| body { |
| width: 800px; |
| margin: 0; |
| overflow-y: hidden; |
| } |
| #i { |
| padding:6px 10px; |
| height:29px; |
| box-sizing:border-box; |
| } |
| </style> |
| <script src="resources/autosizingTest.js"></script> |
| </head> |
| <body> |
| This test passes if the input field is not autosized. |
| <br> |
| <span> |
| <input id="i" value="should not autosize" /> |
| </span> |
| <br><br> |
| Lorem ipsum dolor sit amet, consectetur adipisicing elit, |
| sed do eiusmod tempor incididunt ut labore et dolore magna |
| aliqua. Ut enim ad minim veniam, quis nostrud exercitation |
| ullamco laboris nisi ut aliquip ex ea commodo consequat. |
| </body> |
| </html> |