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

Unified Diff: LayoutTests/fast/css/hover-active-drag.html

Issue 14859016: Don't force layout for mouse event hit tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update all tests 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/css/hover-active-drag.html
diff --git a/LayoutTests/fast/css/hover-active-drag.html b/LayoutTests/fast/css/hover-active-drag.html
index e07827f4c2807c1cad331626f2633da14bb3eac8..b8c46a33202c93e5050353f08b12e76ff71551b4 100644
--- a/LayoutTests/fast/css/hover-active-drag.html
+++ b/LayoutTests/fast/css/hover-active-drag.html
@@ -31,6 +31,9 @@
var box2 = document.getElementById('box2')
testRunner.dumpAsText();
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
+
eventSender.dragMode = false;
// This mouse click seems to be required for WebKit's event handling to
// pick up the :hover class. See https://bugs.webkit.org/show_bug.cgi?id=74264

Powered by Google App Engine
This is Rietveld 408576698