| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../../../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
| 5 <script src="../../../../../fast/forms/resources/picker-common.js"></script> | 5 <script src="../../forms/resources/picker-common.js"></script> |
| 6 <script src="resources/calendar-picker-common.js"></script> | 6 <script src="resources/calendar-picker-common.js"></script> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <p id="description"></p> | 9 <p id="description"></p> |
| 10 <div id="console"></div> | 10 <div id="console"></div> |
| 11 | 11 |
| 12 <input type=datetime id=datetime value="2012-11-20T00:00Z" step="302400"/> | 12 <input type=datetime id=datetime value="2012-11-20T00:00Z" step="302400"/> |
| 13 | 13 |
| 14 <script> | 14 <script> |
| 15 description('Test if step limits available dates in calendar picker on datetime
input.'); | 15 description('Test if step limits available dates in calendar picker on datetime
input.'); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 openPicker(document.getElementById('datetime'), test3); | 48 openPicker(document.getElementById('datetime'), test3); |
| 49 } | 49 } |
| 50 | 50 |
| 51 function test3() { | 51 function test3() { |
| 52 debug("Step when min and max are set."); | 52 debug("Step when min and max are set."); |
| 53 shouldBeEqualToString('availableDayCells().join(",")', '2012-11-16,2012-11-2
0'); | 53 shouldBeEqualToString('availableDayCells().join(",")', '2012-11-16,2012-11-2
0'); |
| 54 finishJSTest(); | 54 finishJSTest(); |
| 55 } | 55 } |
| 56 | 56 |
| 57 </script> | 57 </script> |
| 58 <script src="../../../../../fast/js/resources/js-test-post.js"></script> | 58 <script src="../../js/resources/js-test-post.js"></script> |
| 59 </body> | 59 </body> |
| 60 </html> | 60 </html> |
| OLD | NEW |