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

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

Issue 258063005: Blink does not respect input.selectionStart and input.selectionEnd for some cases (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing changes asked in previous patch 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 76ba3f0ad9d8fd3dd3a462bf82620c804da41ceb..68b4fe3aef5bd391419e0e96303667f4f8466dd2 100644
--- a/LayoutTests/fast/forms/validationMessage.html
+++ b/LayoutTests/fast/forms/validationMessage.html
@@ -104,6 +104,7 @@ 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.
« no previous file with comments | « LayoutTests/fast/forms/textarea-arrow-navigation.html ('k') | Source/core/html/HTMLTextFormControlElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698