Index: LayoutTests/fast/forms/password-doubleclick-selection.html |
diff --git a/LayoutTests/fast/forms/password-doubleclick-selection.html b/LayoutTests/fast/forms/password-doubleclick-selection.html |
index d4e8d4f3f1aa301c6fcee495272c7a110430a814..aa5021f06adfbd377cc4cb9b4c4acf4c79336ac6 100644 |
--- a/LayoutTests/fast/forms/password-doubleclick-selection.html |
+++ b/LayoutTests/fast/forms/password-doubleclick-selection.html |
@@ -7,6 +7,8 @@ |
if (window.testRunner) { |
testRunner.dumpAsText(); |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
eventSender.mouseMoveTo(45, 25); |
eventSender.mouseDown(); |
eventSender.mouseUp(); |