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

Unified Diff: LayoutTests/fast/events/updateLayoutForHitTest.html

Issue 14859016: Don't force layout for mouse event hit tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix review comment Created 7 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: LayoutTests/fast/events/updateLayoutForHitTest.html
diff --git a/LayoutTests/fast/events/updateLayoutForHitTest.html b/LayoutTests/fast/events/updateLayoutForHitTest.html
index c76db0532990facd0fa123b0bbc8c0b7ac5732d7..108d30450b4cd9b5233f211769a3ca84723a3296 100644
--- a/LayoutTests/fast/events/updateLayoutForHitTest.html
+++ b/LayoutTests/fast/events/updateLayoutForHitTest.html
@@ -56,6 +56,8 @@ function toggleStatsSearch(triangleSpan)
</style>
<script>
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(23,26);
eventSender.mouseDown();
eventSender.mouseUp();
« no previous file with comments | « LayoutTests/fast/events/touch/gesture/gesture-tap-active-state.html ('k') | LayoutTests/fast/events/window-events-bubble.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698