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

Unified Diff: third_party/WebKit/LayoutTests/editing/deleting/5290534.html

Issue 2270663002: Selection API of INPUT/TEXTAREA should not update FrameSelection without focusing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust more tests Created 4 years, 4 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: third_party/WebKit/LayoutTests/editing/deleting/5290534.html
diff --git a/third_party/WebKit/LayoutTests/editing/deleting/5290534.html b/third_party/WebKit/LayoutTests/editing/deleting/5290534.html
index 14b9ff257e272d5093253e22df277132341dd504..de892555cf4d80c60df48e4bddc5bbbcb8e076ca 100644
--- a/third_party/WebKit/LayoutTests/editing/deleting/5290534.html
+++ b/third_party/WebKit/LayoutTests/editing/deleting/5290534.html
@@ -16,6 +16,7 @@ if (window.testRunner)
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.");
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/LayoutTests/editing/inserting/4960120-1.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698