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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/script-tests/event-input-contentEditable.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/event-input-contentEditable.js
diff --git a/third_party/WebKit/LayoutTests/fast/events/script-tests/event-input-contentEditable.js b/third_party/WebKit/LayoutTests/fast/events/script-tests/event-input-contentEditable.js
index 401c629b9c0ca389020a070d89d9e930dff3e1d0..d15ac8e3cde9e62e9925736859185969a9a4a71f 100644
--- a/third_party/WebKit/LayoutTests/fast/events/script-tests/event-input-contentEditable.js
+++ b/third_party/WebKit/LayoutTests/fast/events/script-tests/event-input-contentEditable.js
@@ -85,6 +85,7 @@ document.execCommand("createLink", false, "http://www.example.com/");
// Ensure key events can cause the event
var target7 = setupForFiringTest('<p id="target7" contentEditable>Replaced</p>', "X");
+target7.focus();
sel.selectAllChildren(target7);
eventSender.keyDown('X');

Powered by Google App Engine
This is Rietveld 408576698