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

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