Index: LayoutTests/fast/images/image-map-multiple-xhtml.xhtml |
diff --git a/LayoutTests/fast/images/image-map-multiple-xhtml.xhtml b/LayoutTests/fast/images/image-map-multiple-xhtml.xhtml |
index b42b07cd801e197720649d5ab4571e0bc37e7cf5..dcd4a87ad1e32d11a85ea5b1fd6225d4060655c9 100644 |
--- a/LayoutTests/fast/images/image-map-multiple-xhtml.xhtml |
+++ b/LayoutTests/fast/images/image-map-multiple-xhtml.xhtml |
@@ -64,6 +64,8 @@ function runTest() |
return; |
} |
testRunner.dumpAsText(); |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
eventSender.mouseMoveTo(50, 50); |
for (var click = 0; numClicks > click; ++click) { |
eventSender.mouseDown(); |