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

Unified Diff: LayoutTests/editing/deleting/5290534.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/editing/deleting/5290534.html
diff --git a/LayoutTests/editing/deleting/5290534.html b/LayoutTests/editing/deleting/5290534.html
index 673fbf863355eabf8bd0963fb0d608afc0fad637..14b9ff257e272d5093253e22df277132341dd504 100644
--- a/LayoutTests/editing/deleting/5290534.html
+++ b/LayoutTests/editing/deleting/5290534.html
@@ -15,7 +15,7 @@ if (window.testRunner)
window.testRunner.dumpAsText();
var search = document.getElementById("search");
-search.focus();
+search.setSelectionRange(0, 0);
document.execCommand("InsertText", false, "x");
if (search.value != "x")
log("Failure: text wasn't added to the search field.");

Powered by Google App Engine
This is Rietveld 408576698