Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: LayoutTests/svg/custom/resources/focus-event-handling.js

Issue 14859016: Don't force layout for mouse event hit tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update all tests Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698