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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/caret-outside-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/caret-outside-block.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/caret-outside-block.html b/third_party/WebKit/LayoutTests/paint/invalidation/caret-outside-block.html
index 8a1292cf046fe4f53f595c4a879e001e725aae83..cb945923041675d1cbeb7ef956c97b55d776ffe0 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/caret-outside-block.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/caret-outside-block.html
@@ -5,6 +5,7 @@
function repaintTest()
{
var target = document.getElementById("target");
+ target.focus();
getSelection().setBaseAndExtent(target.firstChild, 43, target.firstChild, 43);
}
</script>

Powered by Google App Engine
This is Rietveld 408576698