Index: LayoutTests/fast/forms/input-text-drag-down.html |
diff --git a/LayoutTests/fast/forms/input-text-drag-down.html b/LayoutTests/fast/forms/input-text-drag-down.html |
index 743964a8849d9b03fde5d016223f1b0d512d2ee0..c364bd346913f70fb9d94dee22bcf27f7921a491 100644 |
--- a/LayoutTests/fast/forms/input-text-drag-down.html |
+++ b/LayoutTests/fast/forms/input-text-drag-down.html |
@@ -2,6 +2,8 @@ |
<p>Tests drag-selecting down. If the test succeeds, the text from the center to the end of the text field should be selected.</p> |
<script> |
if (window.eventSender) { |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
eventSender.mouseMoveTo(50, 15); |
eventSender.mouseDown(); |
eventSender.mouseUp(); |