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

Unified Diff: LayoutTests/editing/deleting/5290534.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/editing/deleting/5290534.html
diff --git a/LayoutTests/editing/deleting/5290534.html b/LayoutTests/editing/deleting/5290534.html
index 14b9ff257e272d5093253e22df277132341dd504..673fbf863355eabf8bd0963fb0d608afc0fad637 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.setSelectionRange(0, 0);
+search.focus();
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