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

Unified Diff: LayoutTests/touchadjustment/zoom-basic.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/touchadjustment/zoom-basic.html
diff --git a/LayoutTests/touchadjustment/zoom-basic.html b/LayoutTests/touchadjustment/zoom-basic.html
index 20c315555a819c3229e5c7dcccc5671285cf6378..5a67523c95ea693e49e9be3e19c295c6b0c7a470 100644
--- a/LayoutTests/touchadjustment/zoom-basic.html
+++ b/LayoutTests/touchadjustment/zoom-basic.html
@@ -61,6 +61,8 @@
description('Test basic cases of tap-to-zoom mechanics.');
testRunner.dumpAsText();
testRunner.waitUntilDone();
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
testDirectTouches();
isSuccessfullyParsed();
testRunner.notifyDone();

Powered by Google App Engine
This is Rietveld 408576698