Index: LayoutTests/fast/events/mouse-focus-imagemap.html |
diff --git a/LayoutTests/fast/events/mouse-focus-imagemap.html b/LayoutTests/fast/events/mouse-focus-imagemap.html |
index d09bf30475c2cfb37a0d7ed6b8e81123bf5b22d4..a74d0fcfbd0047dcfb6cc9334d88c4c067325b37 100644 |
--- a/LayoutTests/fast/events/mouse-focus-imagemap.html |
+++ b/LayoutTests/fast/events/mouse-focus-imagemap.html |
@@ -18,6 +18,9 @@ |
description("This tests that a link in an image map with tabindex < 0 is not mouse focusable."); |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
+ |
// First try to focus on the <area> that is focusable. |
eventSender.mouseMoveTo(100, 100); |
eventSender.mouseDown(); |