OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description">Text field types should have the same default widths.</p> | 7 <p id="description">Text field types should have the same default widths.</p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 | 9 |
10 <div id=parent> | 10 <div id=parent> |
(...skipping 12 matching lines...) Expand all Loading... |
23 shouldBe('document.getElementById("email").offsetWidth', 'baseWidth'); | 23 shouldBe('document.getElementById("email").offsetWidth', 'baseWidth'); |
24 shouldBe('document.getElementById("number").offsetWidth', 'baseWidth'); | 24 shouldBe('document.getElementById("number").offsetWidth', 'baseWidth'); |
25 shouldBe('document.getElementById("password").offsetWidth', 'baseWidth'); | 25 shouldBe('document.getElementById("password").offsetWidth', 'baseWidth'); |
26 shouldBe('document.getElementById("tel").offsetWidth', 'baseWidth'); | 26 shouldBe('document.getElementById("tel").offsetWidth', 'baseWidth'); |
27 shouldBe('document.getElementById("url").offsetWidth', 'baseWidth'); | 27 shouldBe('document.getElementById("url").offsetWidth', 'baseWidth'); |
28 | 28 |
29 // type=search is not tested intentionally. | 29 // type=search is not tested intentionally. |
30 | 30 |
31 document.getElementById('parent').innerHTML = ''; | 31 document.getElementById('parent').innerHTML = ''; |
32 </script> | 32 </script> |
33 <script src="../../fast/js/resources/js-test-post.js"></script> | |
34 </body> | 33 </body> |
35 </html> | 34 </html> |
OLD | NEW |