Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Side by Side Diff: LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-readonly-subfield.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 createInput(min, max, step, value) { 5 function createInput(min, max, step, value) {
6 var input = document.createElement('input'); 6 var input = document.createElement('input');
7 input.type = 'datetime-local'; 7 input.type = 'datetime-local';
8 if (min) 8 if (min)
9 input.min = min; 9 input.min = min;
10 if (max) 10 if (max)
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 shouldBeTrue('isReadOnlyField(createInput("2013-01-16T11:30", "2013-01-16T11:59" , step1min, ""), pseudoHour)'); 66 shouldBeTrue('isReadOnlyField(createInput("2013-01-16T11:30", "2013-01-16T11:59" , step1min, ""), pseudoHour)');
67 shouldBeTrue('isReadOnlyField(createInput("2013-01-16T11:30", "2013-01-16T11:59" , step1min, ""), pseudoAMPM)'); 67 shouldBeTrue('isReadOnlyField(createInput("2013-01-16T11:30", "2013-01-16T11:59" , step1min, ""), pseudoAMPM)');
68 shouldBeFalse('isReadOnlyField(createInput("2013-01-16T11:30", "2013-01-16T11:59 ", step1min, ""), pseudoMinute)'); 68 shouldBeFalse('isReadOnlyField(createInput("2013-01-16T11:30", "2013-01-16T11:59 ", step1min, ""), pseudoMinute)');
69 69
70 debug('AM/PM field:'); 70 debug('AM/PM field:');
71 shouldBeTrue('isReadOnlyField(createInput("2013-01-16T08:00", "2013-01-16T11:00" , step1min, ""), pseudoAMPM)'); 71 shouldBeTrue('isReadOnlyField(createInput("2013-01-16T08:00", "2013-01-16T11:00" , step1min, ""), pseudoAMPM)');
72 shouldBeFalse('isReadOnlyField(createInput("2013-01-16T08:00", "2013-01-17T11:00 ", step1min, ""), pseudoAMPM)'); 72 shouldBeFalse('isReadOnlyField(createInput("2013-01-16T08:00", "2013-01-17T11:00 ", step1min, ""), pseudoAMPM)');
73 73
74 </script> 74 </script>
75 <script src="../../js/resources/js-test-post.js"></script>
76 </body> 75 </body>
77 76
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698