OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <body> | 2 <body> |
3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
4 <script> | 4 <script> |
5 function createTimeInput(min, step, value) { | 5 function createTimeInput(min, step, value) { |
6 var input = document.createElement('input'); | 6 var input = document.createElement('input'); |
7 input.type = 'time'; | 7 input.type = 'time'; |
8 input.min = min; | 8 input.min = min; |
9 input.step = step; | 9 input.step = step; |
10 if (value) | 10 if (value) |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 shouldBeFalse('isReadOnlyField(createTimeInput("11:30", step1day, "12:30"), pseu
doAMPM)'); | 63 shouldBeFalse('isReadOnlyField(createTimeInput("11:30", step1day, "12:30"), pseu
doAMPM)'); |
64 shouldBeTrue('isReadOnlyField(createTimeInput("11:30", step1day, "12:30"), pseud
oMinute)'); | 64 shouldBeTrue('isReadOnlyField(createTimeInput("11:30", step1day, "12:30"), pseud
oMinute)'); |
65 shouldBeFalse('isReadOnlyField(createTimeInput("00:00", step1day, "12:30"), pseu
doHour)'); | 65 shouldBeFalse('isReadOnlyField(createTimeInput("00:00", step1day, "12:30"), pseu
doHour)'); |
66 shouldBeFalse('isReadOnlyField(createTimeInput("00:00", step1day, "12:30"), pseu
doAMPM)'); | 66 shouldBeFalse('isReadOnlyField(createTimeInput("00:00", step1day, "12:30"), pseu
doAMPM)'); |
67 shouldBeFalse('isReadOnlyField(createTimeInput("00:00", step1day, "12:30"), pseu
doMinute)'); | 67 shouldBeFalse('isReadOnlyField(createTimeInput("00:00", step1day, "12:30"), pseu
doMinute)'); |
68 | 68 |
69 </script> | 69 </script> |
70 <script src="../../js/resources/js-test-post.js"></script> | 70 <script src="../../js/resources/js-test-post.js"></script> |
71 </body> | 71 </body> |
72 | 72 |
OLD | NEW |