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

Unified Diff: LayoutTests/fast/images/imagemap-case.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/images/imagemap-case.html
diff --git a/LayoutTests/fast/images/imagemap-case.html b/LayoutTests/fast/images/imagemap-case.html
index c47d372759f4951a063992f48e5d219f212b78f8..8676c6362990add7ba6afcaa8ff63845f001baed 100644
--- a/LayoutTests/fast/images/imagemap-case.html
+++ b/LayoutTests/fast/images/imagemap-case.html
@@ -18,6 +18,8 @@
<script>
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(50, 50);
eventSender.mouseDown();
eventSender.mouseUp();
« no previous file with comments | « LayoutTests/fast/images/image-map-zoom.html ('k') | LayoutTests/fast/images/script-tests/imagemap-dynamic-area-updates.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698