OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> |
| 5 </head> |
| 6 <body> |
| 7 <input type="email" id="email"> |
| 8 <input type="number" id="number"> |
| 9 <input type="date" id="date"> |
| 10 <input type="month" id="month"> |
| 11 <input type="week" id="week"> |
| 12 <input type="time" id="time"> |
| 13 <input type="datetime-local" id="datetime-local"> |
| 14 <input type="color" id="color"> |
| 15 <input type="file" id="file"> |
| 16 <script> |
| 17 description('Test to show select() support for Email, Number, Date, Month, Week,
Time, DateTime-Local, Color and File.'); |
| 18 |
| 19 shouldNotThrow('document.getElementById("email").select()'); |
| 20 shouldNotThrow('document.getElementById("number").select()'); |
| 21 shouldNotThrow('document.getElementById("date").select()'); |
| 22 shouldNotThrow('document.getElementById("month").select()'); |
| 23 shouldNotThrow('document.getElementById("week").select()'); |
| 24 shouldNotThrow('document.getElementById("time").select()'); |
| 25 shouldNotThrow('document.getElementById("datetime-local").select()'); |
| 26 shouldNotThrow('document.getElementById("color").select()'); |
| 27 shouldNotThrow('document.getElementById("file").select()'); |
| 28 |
| 29 </script> |
| 30 </body> |
| 31 </html> |
OLD | NEW |