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

Unified Diff: LayoutTests/fast/events/capture-on-target.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/events/capture-on-target.html
diff --git a/LayoutTests/fast/events/capture-on-target.html b/LayoutTests/fast/events/capture-on-target.html
index bd68a366e10cc16abc75f562ef7305c7cd538278..d1a14c1880e6f0e069a2145283a4bffa3dcf312e 100644
--- a/LayoutTests/fast/events/capture-on-target.html
+++ b/LayoutTests/fast/events/capture-on-target.html
@@ -11,6 +11,8 @@ function test()
document.getElementById("target").addEventListener("click", targetClick, true);
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(52, 52);
eventSender.mouseDown();
eventSender.mouseUp();
« no previous file with comments | « LayoutTests/fast/dom/replaced-image-map.html ('k') | LayoutTests/fast/events/clientXY-in-zoom-and-scroll.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698