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

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: 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/input-setvalue-selection.html
diff --git a/LayoutTests/fast/forms/input-setvalue-selection.html b/LayoutTests/fast/forms/input-setvalue-selection.html
index 6ae05477fb52502cc312472de827e5ecfb85c49e..8f274d65c62b1d69f83a0985d2505e641c4092f5 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 beginning)");
document.write("<br>");
input.focus();

Powered by Google App Engine
This is Rietveld 408576698