| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script> | 4 <script> |
| 5 window.enablePixelTesting = true; | 5 window.enablePixelTesting = true; |
| 6 </script> | 6 </script> |
| 7 <script src="../../../resources/js-test.js"></script> | 7 <script src="../../../resources/js-test.js"></script> |
| 8 <script src="../../forms/resources/picker-common.js"></script> | 8 <script src="../resources/picker-common.js"></script> |
| 9 <script src="resources/calendar-picker-common.js"></script> | |
| 10 </head> | 9 </head> |
| 11 <body> | 10 <body> |
| 12 <input type=week id=week value="10000-W12"> | 11 <select id="menu"> |
| 13 | 12 </select> |
| 14 <p id="description" style="opacity: 0"></p> | 13 <p id="description" style="opacity: 0"></p> |
| 15 <div id="console" style="opacity: 0"></div> | 14 <div id="console" style="opacity: 0"></div> |
| 16 | |
| 17 <script> | 15 <script> |
| 18 openPicker(document.getElementById('week'), finishJSTest); | 16 openPicker(document.getElementById('menu'), finishJSTest, function () { |
| 17 testFailed('picker didn\'t open') |
| 18 finishJSTest(); |
| 19 }); |
| 19 </script> | 20 </script> |
| 20 </body> | 21 </body> |
| 21 </html> | 22 </html> |
| OLD | NEW |