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

Unified Diff: LayoutTests/fast/events/mouse-focus-imagemap.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/mouse-focus-imagemap.html
diff --git a/LayoutTests/fast/events/mouse-focus-imagemap.html b/LayoutTests/fast/events/mouse-focus-imagemap.html
index d09bf30475c2cfb37a0d7ed6b8e81123bf5b22d4..a74d0fcfbd0047dcfb6cc9334d88c4c067325b37 100644
--- a/LayoutTests/fast/events/mouse-focus-imagemap.html
+++ b/LayoutTests/fast/events/mouse-focus-imagemap.html
@@ -18,6 +18,9 @@
description("This tests that a link in an image map with tabindex < 0 is not mouse focusable.");
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
+
// First try to focus on the <area> that is focusable.
eventSender.mouseMoveTo(100, 100);
eventSender.mouseDown();
« no previous file with comments | « LayoutTests/fast/events/frame-click-focus.html ('k') | LayoutTests/fast/events/mouseclick-target-and-positioning.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698