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

Unified Diff: LayoutTests/plugins/user-gesture.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/plugins/user-gesture.html
diff --git a/LayoutTests/plugins/user-gesture.html b/LayoutTests/plugins/user-gesture.html
index 3b6b935d27426465128ddc1cfa771cccc05c0833..96b32f5038c544f326241bc01e3b7da7a29a3516 100644
--- a/LayoutTests/plugins/user-gesture.html
+++ b/LayoutTests/plugins/user-gesture.html
@@ -13,6 +13,8 @@
} else {
testRunner.dumpAsText();
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
// Click on the plugin.
eventSender.mouseMoveTo(20, 20);
eventSender.mouseDown();

Powered by Google App Engine
This is Rietveld 408576698