Index: LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml |
diff --git a/LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml b/LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml |
index 61ac7027923cc2b62494b77795ee13798afc4933..e31dc51827f6b947b378474b2595352c221eef2b 100644 |
--- a/LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml |
+++ b/LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml |
@@ -35,6 +35,8 @@ |
testRunner.waitUntilDone(); |
if (window.eventSender) { |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
eventSender.mouseMoveTo(350, 350); |
eventSender.mouseDown(); |
eventSender.mouseMoveTo(200, 200); |