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

Unified Diff: LayoutTests/fast/forms/input-setvalue-selection.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/input-setvalue-selection.html
diff --git a/LayoutTests/fast/forms/input-setvalue-selection.html b/LayoutTests/fast/forms/input-setvalue-selection.html
index 8f274d65c62b1d69f83a0985d2505e641c4092f5..6ae05477fb52502cc312472de827e5ecfb85c49e 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 == 0 ? "1. SUCCESS" : "1. FAILURE (the insertion point should be at the beginning)");
+ document.write(input.selectionStart == 1 ? "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