Index: LayoutTests/svg/custom/mouse-move-on-svg-container.xhtml |
diff --git a/LayoutTests/svg/custom/mouse-move-on-svg-container.xhtml b/LayoutTests/svg/custom/mouse-move-on-svg-container.xhtml |
index 91733146db99fbd053acab41fd0017ad463d0171..d34b1afbbcbd0e7d8975a2e1b6a1230d355b636b 100644 |
--- a/LayoutTests/svg/custom/mouse-move-on-svg-container.xhtml |
+++ b/LayoutTests/svg/custom/mouse-move-on-svg-container.xhtml |
@@ -38,6 +38,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); |