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

Unified Diff: LayoutTests/fast/html/details-remove-summary-4-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-4-and-click.html
diff --git a/LayoutTests/fast/html/details-remove-summary-4-and-click.html b/LayoutTests/fast/html/details-remove-summary-4-and-click.html
index 1fe58697cba000f70289a28eeb8c38b2b576bb9c..aa9f446e75b01b67d6b7813aff25b9043f1930f0 100644
--- a/LayoutTests/fast/html/details-remove-summary-4-and-click.html
+++ b/LayoutTests/fast/html/details-remove-summary-4-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