Index: LayoutTests/fast/dom/Window/window-xy-properties.html |
diff --git a/LayoutTests/fast/dom/Window/window-xy-properties.html b/LayoutTests/fast/dom/Window/window-xy-properties.html |
index 8d441b7576d77580e2a8bb9e4902a7c65177bfde..3f18deaf2e3d1ea5330fbd710e2bcf76ea0d54ff 100644 |
--- a/LayoutTests/fast/dom/Window/window-xy-properties.html |
+++ b/LayoutTests/fast/dom/Window/window-xy-properties.html |
@@ -55,6 +55,8 @@ function mouseev(event) { |
function test() { |
if (window.testRunner) { |
testRunner.dumpAsText(); |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
// test a normal mouse to |
eventSender.mouseMoveTo(50, 50); |
eventSender.mouseDown(); |