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

Unified Diff: third_party/WebKit/LayoutTests/editing/inserting/paragraph-separator-in-table-1.html

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/editing/inserting/paragraph-separator-in-table-1.html
diff --git a/third_party/WebKit/LayoutTests/editing/inserting/paragraph-separator-in-table-1.html b/third_party/WebKit/LayoutTests/editing/inserting/paragraph-separator-in-table-1.html
index f5c9f6af6111681e0136899fef13ba9054b0bb82..a3eae0927b9c00ec88453ba4aa446ea28b930551 100644
--- a/third_party/WebKit/LayoutTests/editing/inserting/paragraph-separator-in-table-1.html
+++ b/third_party/WebKit/LayoutTests/editing/inserting/paragraph-separator-in-table-1.html
@@ -9,6 +9,7 @@ if (window.testRunner)
<script>
var e = document.getElementById("test").firstChild;
var s = window.getSelection();
+document.querySelector("div").focus();
s.collapse(e, 0);
document.execCommand("InsertParagraph");

Powered by Google App Engine
This is Rietveld 408576698