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

Unified Diff: LayoutTests/svg/custom/pointer-events-on-svg-with-pointer.xhtml

Issue 14859016: Don't force layout for mouse event hit tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix review comment 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/pointer-events-on-svg-with-pointer.xhtml
diff --git a/LayoutTests/svg/custom/pointer-events-on-svg-with-pointer.xhtml b/LayoutTests/svg/custom/pointer-events-on-svg-with-pointer.xhtml
index d5026e67f1954229b55c4829bc680635e13469bf..eafcc0945d4aa67bf69532978becf9805b2e38f1 100644
--- a/LayoutTests/svg/custom/pointer-events-on-svg-with-pointer.xhtml
+++ b/LayoutTests/svg/custom/pointer-events-on-svg-with-pointer.xhtml
@@ -37,6 +37,8 @@
}
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(50, 75);
eventSender.mouseDown();
}

Powered by Google App Engine
This is Rietveld 408576698