Index: LayoutTests/fast/events/scrollbar-double-click.html |
diff --git a/LayoutTests/fast/events/scrollbar-double-click.html b/LayoutTests/fast/events/scrollbar-double-click.html |
index 53d42c56b488f34bd1516040e25998bc23cc7646..62d98f609b38c42a2c7a27783297bb70848000ab 100644 |
--- a/LayoutTests/fast/events/scrollbar-double-click.html |
+++ b/LayoutTests/fast/events/scrollbar-double-click.html |
@@ -15,6 +15,8 @@ if (window.testRunner) { |
<script> |
if (window.eventSender) { |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
eventSender.mouseMoveTo(390, 300); |
eventSender.mouseDown(); |
eventSender.mouseUp(); |