Index: LayoutTests/fast/replaced/image-map.html |
diff --git a/LayoutTests/fast/replaced/image-map.html b/LayoutTests/fast/replaced/image-map.html |
index 024c3beb8744286623e73cb9aa6c6f70827fbc09..64ee48b5e73e5eec3c2a0c93678336ad516080a8 100644 |
--- a/LayoutTests/fast/replaced/image-map.html |
+++ b/LayoutTests/fast/replaced/image-map.html |
@@ -3,6 +3,8 @@ |
function test() { |
if (window.testRunner) { |
testRunner.dumpAsText(); |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
eventSender.mouseMoveTo(50, 50); |
eventSender.mouseDown(); |
eventSender.mouseUp(); |