Index: LayoutTests/fast/css/hover-active-drag.html |
diff --git a/LayoutTests/fast/css/hover-active-drag.html b/LayoutTests/fast/css/hover-active-drag.html |
index e07827f4c2807c1cad331626f2633da14bb3eac8..b8c46a33202c93e5050353f08b12e76ff71551b4 100644 |
--- a/LayoutTests/fast/css/hover-active-drag.html |
+++ b/LayoutTests/fast/css/hover-active-drag.html |
@@ -31,6 +31,9 @@ |
var box2 = document.getElementById('box2') |
testRunner.dumpAsText(); |
+ // Mouse events only work after an initial layout |
+ document.body.offsetLeft; |
+ |
eventSender.dragMode = false; |
// This mouse click seems to be required for WebKit's event handling to |
// pick up the :hover class. See https://bugs.webkit.org/show_bug.cgi?id=74264 |