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

Unified Diff: LayoutTests/fast/html/details-remove-summary-2-and-click.html

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/fast/html/details-remove-summary-2-and-click.html
diff --git a/LayoutTests/fast/html/details-remove-summary-2-and-click.html b/LayoutTests/fast/html/details-remove-summary-2-and-click.html
index d35db84eebeb1255490035fe2294ea3105806d13..af853048583530398fdebc60a1edf8fb37661acc 100644
--- a/LayoutTests/fast/html/details-remove-summary-2-and-click.html
+++ b/LayoutTests/fast/html/details-remove-summary-2-and-click.html
@@ -5,6 +5,8 @@ var runTests = function () {
if (!window.testRunner || !window.eventSender)
return;
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(2, 2);
eventSender.mouseDown();
eventSender.mouseUp();

Powered by Google App Engine
This is Rietveld 408576698