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

Unified Diff: LayoutTests/fast/forms/input-setvalue-selection.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: Rebase Created 6 years, 6 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/input-setvalue-selection.html
diff --git a/LayoutTests/fast/forms/input-setvalue-selection.html b/LayoutTests/fast/forms/input-setvalue-selection.html
index 6ae05477fb52502cc312472de827e5ecfb85c49e..a0998a9fffa294792ae57c43ffd39403cbff8a17 100644
--- a/LayoutTests/fast/forms/input-setvalue-selection.html
+++ b/LayoutTests/fast/forms/input-setvalue-selection.html
@@ -12,7 +12,7 @@ JavaScript Form Validation issue on Banco do Brasil site.</p>
input = document.getElementsByTagName("input")[0];
input.value = "1";
- document.write(input.selectionStart == 1 ? "1. SUCCESS" : "1. FAILURE (the insertion point should be at the end)");
+ document.write(input.selectionStart == 0 ? "1. SUCCESS" : "1. FAILURE (the insertion point should be at the end)");
document.write("<br>");
input.focus();

Powered by Google App Engine
This is Rietveld 408576698