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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/delete-into-nested-block.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/delete-into-nested-block.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/delete-into-nested-block.html b/third_party/WebKit/LayoutTests/paint/invalidation/delete-into-nested-block.html
index d1c35749f85ce48a6e8b0ece14b0d7e37e62ba64..83c49161e9840ee6d7305e595d270bae1fd3133d 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/delete-into-nested-block.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/delete-into-nested-block.html
@@ -25,6 +25,7 @@
var sel = window.getSelection();
var one = document.getElementById("one");
var two = document.getElementById("two");
+ one.parentNode.focus();
sel.setBaseAndExtent(one, 0, two, 2);
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698