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="../../../resources/js-test.js"></script> |
5 <script src="../../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=month id=month value="2011-04" step="9" min="2011-04"> | 12 <input type=month id=month value="2011-04" step="9" min="2011-04"> |
13 | 13 |
14 <script> | 14 <script> |
(...skipping 20 matching lines...) Expand all Loading... | |
35 } | 35 } |
36 | 36 |
37 function test2() { | 37 function test2() { |
38 debug("Step when min is set."); | 38 debug("Step when min is set."); |
39 shouldBeEqualToString('availableDayCells()', '2012-02-01,2012-02-02,2012-02- 03,2012-02-04,2012-02-05,2012-02-06,2012-02-07,2012-02-08,2012-02-09,2012-02-10, 2012-02-11,2012-02-12,2012-02-13,2012-02-14,2012-02-15,2012-02-16,2012-02-17,201 2-02-18,2012-02-19,2012-02-20,2012-02-21,2012-02-22,2012-02-23,2012-02-24,2012-0 2-25,2012-02-26,2012-02-27,2012-02-28,2012-02-29'); | 39 shouldBeEqualToString('availableDayCells()', '2012-02-01,2012-02-02,2012-02- 03,2012-02-04,2012-02-05,2012-02-06,2012-02-07,2012-02-08,2012-02-09,2012-02-10, 2012-02-11,2012-02-12,2012-02-13,2012-02-14,2012-02-15,2012-02-16,2012-02-17,201 2-02-18,2012-02-19,2012-02-20,2012-02-21,2012-02-22,2012-02-23,2012-02-24,2012-0 2-25,2012-02-26,2012-02-27,2012-02-28,2012-02-29'); |
40 finishJSTest(); | 40 finishJSTest(); |
41 } | 41 } |
42 </script> | 42 </script> |
43 </body> | 43 </body> |
44 </html> | 44 </html> |
OLD | NEW |