Index: LayoutTests/svg/custom/resources/focus-event-handling.js |
diff --git a/LayoutTests/svg/custom/resources/focus-event-handling.js b/LayoutTests/svg/custom/resources/focus-event-handling.js |
index 4c7062016b609f32bc739358426f105d29449415..e954616273e6388cb75bd00cf46d9603c46a7a16 100644 |
--- a/LayoutTests/svg/custom/resources/focus-event-handling.js |
+++ b/LayoutTests/svg/custom/resources/focus-event-handling.js |
@@ -49,6 +49,8 @@ function clickAt(x, y) |
} |
if (window.eventSender) { |
+ // Mouse events only work after an initial layout |
+ document.documentElement.offsetLeft; |
// cause focusin and focusout |
clickAt(50, 50); |