| Index: third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-stepup-stepdown-from-renderer.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-stepup-stepdown-from-renderer.html b/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-stepup-stepdown-from-renderer.html
|
| index c2496af09697d0658c5c5796d0933fbf353ec9ae..d5d202c519274eba1c1b31dce8df967cc6429cae 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-stepup-stepdown-from-renderer.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-stepup-stepdown-from-renderer.html
|
| @@ -34,20 +34,20 @@ function test(value, step, min, max, keySequence) {
|
| }
|
|
|
| function stepUp(value, step, min, max) {
|
| - return test(value, step, min, max, ['upArrow']);
|
| + return test(value, step, min, max, ['ArrowUp']);
|
| }
|
|
|
| function stepDown(value, step, min, max) {
|
| - return test(value, step, min, max, ['downArrow']);
|
| + return test(value, step, min, max, ['ArrowDown']);
|
| }
|
|
|
| input.type = 'datetime-local';
|
| input.focus();
|
| debug('Function arguments are (value, step, min, max, [keySequence]).');
|
| debug('The hour field respects min/max attributes when they have the same date.');
|
| -keyDown('rightArrow');
|
| -keyDown('rightArrow');
|
| -keyDown('rightArrow');
|
| +keyDown('ArrowRight');
|
| +keyDown('ArrowRight');
|
| +keyDown('ArrowRight');
|
| shouldBeEqualToString('stepUp("2013-01-16T17:00", 1, "2013-01-16T15:00", "2013-01-16T17:00")', '2013-01-16T15:00');
|
| shouldBeEqualToString('stepDown("2013-01-16T15:00", 1, "2013-01-16T15:00", "2013-01-16T17:00")', '2013-01-16T17:00');
|
| shouldBeEqualToString('stepUp("2013-01-16T17:00", 1, "2013-01-16T15:00", "2013-01-17T17:00")', '2013-01-16T18:00');
|
|
|