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="../../resources/js-test.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> |
11 <input type=text id=text> | 11 <input type=text id=text> |
12 | 12 |
13 <input type=email id=email> | 13 <input type=email id=email> |
14 <input type=number id=number> | 14 <input type=number id=number> |
(...skipping 10 matching lines...) Expand all Loading... |
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 </body> | 33 </body> |
34 </html> | 34 </html> |
OLD | NEW |