Index: LayoutTests/plugins/user-gesture.html |
diff --git a/LayoutTests/plugins/user-gesture.html b/LayoutTests/plugins/user-gesture.html |
index 3b6b935d27426465128ddc1cfa771cccc05c0833..96b32f5038c544f326241bc01e3b7da7a29a3516 100644 |
--- a/LayoutTests/plugins/user-gesture.html |
+++ b/LayoutTests/plugins/user-gesture.html |
@@ -13,6 +13,8 @@ |
} else { |
testRunner.dumpAsText(); |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
// Click on the plugin. |
eventSender.mouseMoveTo(20, 20); |
eventSender.mouseDown(); |