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

Unified Diff: LayoutTests/svg/custom/pointer-events-on-rounded-rect.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-rounded-rect.xhtml
diff --git a/LayoutTests/svg/custom/pointer-events-on-rounded-rect.xhtml b/LayoutTests/svg/custom/pointer-events-on-rounded-rect.xhtml
index 87c3de14208684c7bb702532a9acb3b430f515aa..f240429cb716313cb6654ace5729ec3a9b12260b 100644
--- a/LayoutTests/svg/custom/pointer-events-on-rounded-rect.xhtml
+++ b/LayoutTests/svg/custom/pointer-events-on-rounded-rect.xhtml
@@ -55,6 +55,8 @@ if (window.testRunner) {
}
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(31, 31);
eventSender.mouseDown();
}
@@ -63,4 +65,4 @@ if (window.eventSender) {
</svg>
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698