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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/script-tests/inputText-never-fired-on-keydown-cancel.js

Issue 2709983005: Selection API: Do not change focus by Selection functions. (Closed)
Patch Set: . Created 3 years, 10 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/fast/events/script-tests/inputText-never-fired-on-keydown-cancel.js
diff --git a/third_party/WebKit/LayoutTests/fast/events/script-tests/inputText-never-fired-on-keydown-cancel.js b/third_party/WebKit/LayoutTests/fast/events/script-tests/inputText-never-fired-on-keydown-cancel.js
index 7340ee3ee2a61552f2b0918af61ca30a65d16634..0ab697bb54eb9b0a2b051ba466332eaf5c09e40e 100644
--- a/third_party/WebKit/LayoutTests/fast/events/script-tests/inputText-never-fired-on-keydown-cancel.js
+++ b/third_party/WebKit/LayoutTests/fast/events/script-tests/inputText-never-fired-on-keydown-cancel.js
@@ -55,6 +55,7 @@ test(targetInput);
targetTextarea.focus();
test(targetTextarea);
+targetEditable.focus();
window.getSelection().setBaseAndExtent(targetEditable, 0, targetEditable, 0);
test(targetEditable);

Powered by Google App Engine
This is Rietveld 408576698