Index: LayoutTests/fast/block/float/float-in-float-hit-testing.html |
diff --git a/LayoutTests/fast/block/float/float-in-float-hit-testing.html b/LayoutTests/fast/block/float/float-in-float-hit-testing.html |
index c101cf8580f5f9892686a22479b3c9ec38573f84..670ea11cff158d44abb1a195facabf89a7011af2 100644 |
--- a/LayoutTests/fast/block/float/float-in-float-hit-testing.html |
+++ b/LayoutTests/fast/block/float/float-in-float-hit-testing.html |
@@ -5,6 +5,8 @@ if (window.testRunner) |
function test() |
{ |
if (window.eventSender) { |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
eventSender.mouseMoveTo(100, 335); |
eventSender.mouseDown(); |
} |