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

Unified Diff: LayoutTests/fast/forms/validationMessage.html

Issue 404483002: Revert of "Blink does not respect input.selectionStart and input.selectionEnd for some cases" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/validationMessage.html
diff --git a/LayoutTests/fast/forms/validationMessage.html b/LayoutTests/fast/forms/validationMessage.html
index 68b4fe3aef5bd391419e0e96303667f4f8466dd2..76ba3f0ad9d8fd3dd3a462bf82620c804da41ceb 100644
--- a/LayoutTests/fast/forms/validationMessage.html
+++ b/LayoutTests/fast/forms/validationMessage.html
@@ -104,7 +104,6 @@ inputWithMax.maxLength = 3;
inputWithMax.value = "abcdef";
document.body.appendChild(inputWithMax);
inputWithMax.focus();
-inputWithMax.setSelectionRange(6, 6);
document.execCommand("delete");
debug("input tooLong: " + inputWithMax.validationMessage);
// fancyX should be treated as 3 characters.

Powered by Google App Engine
This is Rietveld 408576698