| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
| 5 <script src="../resources/picker-common.js"></script> | 5 <script src="../resources/picker-common.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <p id="description"></p> | 8 <p id="description"></p> |
| 9 <div id="console"></div> | 9 <div id="console"></div> |
| 10 | 10 |
| 11 <input type=time id=time value="2011-05-01"> | 11 <input type=time id=time value="2011-05-01"> |
| 12 | 12 |
| 13 <script> | 13 <script> |
| 14 description('F4 or Alt+Down should not open the calendar picker.'); | 14 description('F4 or Alt+Down should not open the calendar picker.'); |
| 15 | 15 |
| 16 var input = document.getElementById('time'); | 16 var input = document.getElementById('time'); |
| 17 sendKey(input, 'F4', false, false); | 17 sendKey(input, 'F4', false, false); |
| 18 shouldBeNull('document.getElementById("mock-page-popup")'); | 18 shouldBeNull('document.getElementById("mock-page-popup")'); |
| 19 sendKey(input, 'Down', false, true); | 19 sendKey(input, 'Down', false, true); |
| 20 shouldBeNull('document.getElementById("mock-page-popup")'); | 20 shouldBeNull('document.getElementById("mock-page-popup")'); |
| 21 | 21 |
| 22 finishJSTest(); | 22 finishJSTest(); |
| 23 | 23 |
| 24 </script> | 24 </script> |
| 25 <script src="../../js/resources/js-test-post.js"></script> | 25 <script src="../../js/resources/js-test-post.js"></script> |
| 26 </body> | 26 </body> |
| 27 </html> | 27 </html> |
| OLD | NEW |