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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/hit-test-counts.html

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: fix rebase Created 3 years, 7 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/hit-test-counts.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/hit-test-counts.html b/third_party/WebKit/LayoutTests/fast/events/hit-test-counts.html
index 8268e85334137b024bf4c21c72397a7fdce2de6a..ea2a6883817fbcf3cc96f6fa9a8a24a82ca66ea9 100644
--- a/third_party/WebKit/LayoutTests/fast/events/hit-test-counts.html
+++ b/third_party/WebKit/LayoutTests/fast/events/hit-test-counts.html
@@ -128,6 +128,8 @@ function sendEvents(targetX, targetY, documents, multiTapNotification)
});
logCounts('GestureTap', documents, multiTapNotification, function() {
+ // We don't want to tap on an existing selection so we clear selections.
+ window.getSelection().empty();
eventSender.gestureTap(targetX, targetY, 1, 30, 30);
});

Powered by Google App Engine
This is Rietveld 408576698