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="../resources/common.js"></script> | 5 <script src="../resources/common.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <script> | 8 <script> |
9 description('Checks incomplete datetime formats are rejected.'); | 9 description('Checks incomplete datetime formats are rejected.'); |
10 | 10 |
11 var input = document.createElement('input'); | 11 var input = document.createElement('input'); |
12 input.type = 'time'; | 12 input.type = 'time'; |
13 document.body.appendChild(input); | 13 document.body.appendChild(input); |
14 | 14 |
(...skipping 18 matching lines...) Expand all Loading... |
33 setDateTimeFormat('HH'); | 33 setDateTimeFormat('HH'); |
34 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); | 34 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); |
35 setDateTimeFormat('mm:ss'); | 35 setDateTimeFormat('mm:ss'); |
36 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); | 36 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); |
37 setDateTimeFormat('hh:mm:ss'); | 37 setDateTimeFormat('hh:mm:ss'); |
38 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); | 38 shouldBeEqualToString('getUserAgentShadowTextContent(input)', '23:59:01.234'); |
39 | 39 |
40 </script> | 40 </script> |
41 </body> | 41 </body> |
42 </html> | 42 </html> |
OLD | NEW |