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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.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/paint/invalidation/invalidate-caret-before-text-node-update.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html b/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html
index 8e5c2676850a9ab18d03731476eaa00d234e9e55..956dfb16fee24b423380a70084f99d7973ce4f5d 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html
@@ -10,6 +10,7 @@
onload = function() {
// The innerText must be set explicitly, and not with an editing command.
root.innerText = "1";
+ root.focus();
window.getSelection().collapse(root.firstChild, 1);
runRepaintAndPixelTest();

Powered by Google App Engine
This is Rietveld 408576698