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(); |