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

Unified Diff: LayoutTests/svg/custom/mouse-move-on-svg-root.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/mouse-move-on-svg-root.xhtml
diff --git a/LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml b/LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml
index 61ac7027923cc2b62494b77795ee13798afc4933..e31dc51827f6b947b378474b2595352c221eef2b 100644
--- a/LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml
+++ b/LayoutTests/svg/custom/mouse-move-on-svg-root.xhtml
@@ -35,6 +35,8 @@
testRunner.waitUntilDone();
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(350, 350);
eventSender.mouseDown();
eventSender.mouseMoveTo(200, 200);

Powered by Google App Engine
This is Rietveld 408576698