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, max, step, value) { | 5 function createTimeInput(min, max, 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.max = max; | 9 input.max = max; |
10 input.step = step; | 10 input.step = step; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 shouldBeFalse('isReadOnlyField(createTimeInput("23:00", null, step1min, ""), pse
udoAMPM)'); | 89 shouldBeFalse('isReadOnlyField(createTimeInput("23:00", null, step1min, ""), pse
udoAMPM)'); |
90 shouldBeFalse('isReadOnlyField(createTimeInput(null, "01:00", step1min, ""), pse
udoAMPM)'); | 90 shouldBeFalse('isReadOnlyField(createTimeInput(null, "01:00", step1min, ""), pse
udoAMPM)'); |
91 shouldBeFalse('isReadOnlyField(createTimeInput(null, "23:00", step1min, ""), pse
udoAMPM)'); | 91 shouldBeFalse('isReadOnlyField(createTimeInput(null, "23:00", step1min, ""), pse
udoAMPM)'); |
92 shouldBeTrue('isReadOnlyField(createTimeInput("00:00", "11:59", step1min, ""), p
seudoAMPM)'); | 92 shouldBeTrue('isReadOnlyField(createTimeInput("00:00", "11:59", step1min, ""), p
seudoAMPM)'); |
93 shouldBeFalse('isReadOnlyField(createTimeInput("00:00", "12:00", step1min, ""),
pseudoAMPM)'); | 93 shouldBeFalse('isReadOnlyField(createTimeInput("00:00", "12:00", step1min, ""),
pseudoAMPM)'); |
94 shouldBeTrue('isReadOnlyField(createTimeInput("12:00", "12:00", step1min, ""), p
seudoAMPM)'); | 94 shouldBeTrue('isReadOnlyField(createTimeInput("12:00", "12:00", step1min, ""), p
seudoAMPM)'); |
95 shouldBeTrue('isReadOnlyField(createTimeInput("12:00", "23:59", step1min, ""), p
seudoAMPM)'); | 95 shouldBeTrue('isReadOnlyField(createTimeInput("12:00", "23:59", step1min, ""), p
seudoAMPM)'); |
96 | 96 |
97 | 97 |
98 </script> | 98 </script> |
99 <script src="../../js/resources/js-test-post.js"></script> | |
100 </body> | 99 </body> |
101 | 100 |
OLD | NEW |