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

Unified Diff: LayoutTests/fast/images/image-map-multiple.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/images/image-map-multiple.html
diff --git a/LayoutTests/fast/images/image-map-multiple.html b/LayoutTests/fast/images/image-map-multiple.html
index 1e8aeda02637b70e3c17ca82e119ee2d9c77b367..06d81e913f0025b22d718054d752e5d41540a240 100644
--- a/LayoutTests/fast/images/image-map-multiple.html
+++ b/LayoutTests/fast/images/image-map-multiple.html
@@ -60,6 +60,8 @@ function runTest()
return;
}
testRunner.dumpAsText();
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(50, 50);
for (var click = 0; click < numClicks; ++click) {
eventSender.mouseDown();

Powered by Google App Engine
This is Rietveld 408576698