Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
|
tkent
2013/12/13 00:07:29
You don't need to add new test files. Please add
Habib Virji
2013/12/13 12:05:04
Done.
| |
| 2 <html> | |
| 3 <head> | |
| 4 <script src="../../resources/js-test.js"></script> | |
| 5 </head> | |
| 6 <body> | |
| 7 <input id='email' type=email> | |
| 8 <script> | |
| 9 description("Test selectionStart() method support in input type email."); | |
| 10 | |
| 11 debug('Checking input type email support for selectionStart:'); | |
| 12 shouldThrow('document.getElementById("email").selectionStart = 0'); | |
| 13 | |
| 14 debug('Checking input type email support for selectionEnd:'); | |
| 15 shouldThrow('document.getElementById("email").selectionEnd'); | |
| 16 | |
| 17 </script> | |
| 18 </body> | |
| 19 </html> | |
| OLD | NEW |