| Index: third_party/WebKit/LayoutTests/fast/forms/ValidityState-tooShort-input.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/forms/ValidityState-tooShort-input.html b/third_party/WebKit/LayoutTests/fast/forms/ValidityState-tooShort-input.html
|
| index 1a2f773310a676ceb22884c7e167ac4e9a786db8..eef334d303bf729cf173e4847ecfe654101518bb 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/forms/ValidityState-tooShort-input.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/forms/ValidityState-tooShort-input.html
|
| @@ -35,11 +35,11 @@ input.setAttribute('value', 'ab');
|
| input.minLength = 3;
|
| input.focus();
|
| input.setSelectionRange(2, 2); // Move the cursor at the end.
|
| -eventSender.keyDown('backspace');
|
| +eventSender.keyDown('Backspace');
|
| shouldBe('input.value.length', '1');
|
| shouldBeTrue('input.validity.tooShort');
|
| // Make the value empty, which means valid.
|
| -eventSender.keyDown('backspace');
|
| +eventSender.keyDown('Backspace');
|
| shouldBe('input.value.length', '0');
|
| shouldBeFalse('input.validity.tooShort');
|
| sendString('ab');
|
| @@ -60,7 +60,7 @@ debug('');
|
| debug('Disabling makes the control valid');
|
| input.focus();
|
| input.setSelectionRange(2, 2);
|
| -eventSender.keyDown('backspace');
|
| +eventSender.keyDown('Backspace');
|
| shouldBeTrue('input.validity.tooShort');
|
| shouldBeFalse('input.disabled = true; input.validity.tooShort');
|
| shouldBeTrue('input.disabled = false; input.validity.tooShort');
|
| @@ -88,7 +88,7 @@ input.value = fancyX + 'A'; // 4 characters, 2 grapheme cluster.
|
| input.minLength = 2;
|
| input.focus();
|
| shouldBeFalse('input.validity.tooShort');
|
| -eventSender.keyDown('backspace'); // Make the value dirty, 1 grapheme remains.
|
| +eventSender.keyDown('Backspace'); // Make the value dirty, 1 grapheme remains.
|
| // Not too short because there are three characters.
|
| shouldBe('input.value.length', '3');
|
| shouldBeFalse('input.validity.tooShort');
|
|
|