OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../../resources/js-test.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/suggestion-picker-common.js"></script> | 6 <script src="resources/suggestion-picker-common.js"></script> |
7 </head> | 7 </head> |
8 <body style="background-color: #bbbbbb;"> | 8 <body style="background-color: #bbbbbb;"> |
9 <p id="description"></p> | 9 <p id="description"></p> |
10 <div id="console"></div> | 10 <div id="console"></div> |
11 <input type=date id=date value="2012-01-01" step="2" list=suggestions> | 11 <input type=date id=date min="1970-01-01" value="2012-01-01" step="2" list=sugge
stions> |
12 <datalist id=suggestions> | 12 <datalist id=suggestions> |
13 <option>2012-01-21</option> | 13 <option>2012-01-21</option> |
14 <option>2012-01-22</option> | 14 <option>2012-01-22</option> |
15 <option>2012-01-23</option> | 15 <option>2012-01-23</option> |
16 <option>2012-01-24</option> | 16 <option>2012-01-24</option> |
17 <option>2012-01-25</option> | 17 <option>2012-01-25</option> |
18 <option>2012-01-26</option> | 18 <option>2012-01-26</option> |
19 <option>2012-01-27</option> | 19 <option>2012-01-27</option> |
20 <option>2012-01-28</option> | 20 <option>2012-01-28</option> |
21 <option>2012-01-29</option> | 21 <option>2012-01-29</option> |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 shouldBe('entryValues().length', '2'); | 80 shouldBe('entryValues().length', '2'); |
81 shouldBeEqualToString('entryValues()[0]', '2012-01-21'); | 81 shouldBeEqualToString('entryValues()[0]', '2012-01-21'); |
82 shouldBeEqualToString('entryValues()[1]', '@openCalendarPicker'); | 82 shouldBeEqualToString('entryValues()[1]', '@openCalendarPicker'); |
83 | 83 |
84 finishJSTest(); | 84 finishJSTest(); |
85 } | 85 } |
86 | 86 |
87 </script> | 87 </script> |
88 </body> | 88 </body> |
89 </html> | 89 </html> |
OLD | NEW |