OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
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"></p> | 7 <p id="description"></p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 | 9 |
10 <input type="email" id="test" placeholder="FAIL: placeholder should disappear"> | 10 <input type="email" id="test" placeholder="FAIL: placeholder should disappear"> |
11 | 11 |
12 <script> | 12 <script> |
13 description('This tests setting the editing value of an input.'); | 13 description('This tests setting the editing value of an input.'); |
14 | 14 |
(...skipping 12 matching lines...) Expand all Loading... |
27 debug('This test requires window.internals object.'); | 27 debug('This test requires window.internals object.'); |
28 } | 28 } |
29 shouldBe('input.value', '"foo"'); | 29 shouldBe('input.value', '"foo"'); |
30 shouldBe('document.querySelector(":invalid")', 'input'); | 30 shouldBe('document.querySelector(":invalid")', 'input'); |
31 input.blur(); | 31 input.blur(); |
32 | 32 |
33 </script> | 33 </script> |
34 | 34 |
35 </body> | 35 </body> |
36 </html> | 36 </html> |
OLD | NEW |