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

Unified Diff: LayoutTests/fast/block/float/float-in-float-hit-testing.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/block/float/float-in-float-hit-testing.html
diff --git a/LayoutTests/fast/block/float/float-in-float-hit-testing.html b/LayoutTests/fast/block/float/float-in-float-hit-testing.html
index c101cf8580f5f9892686a22479b3c9ec38573f84..670ea11cff158d44abb1a195facabf89a7011af2 100644
--- a/LayoutTests/fast/block/float/float-in-float-hit-testing.html
+++ b/LayoutTests/fast/block/float/float-in-float-hit-testing.html
@@ -5,6 +5,8 @@ if (window.testRunner)
function test()
{
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(100, 335);
eventSender.mouseDown();
}

Powered by Google App Engine
This is Rietveld 408576698