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

Unified Diff: LayoutTests/fast/events/touch/emulate-touch-events.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/touch/emulate-touch-events.html
diff --git a/LayoutTests/fast/events/touch/emulate-touch-events.html b/LayoutTests/fast/events/touch/emulate-touch-events.html
index 90255f2b471e8c119e74969a56703de70b04be3a..d35e38450fc3263066cfec63b061fdb71841acce 100644
--- a/LayoutTests/fast/events/touch/emulate-touch-events.html
+++ b/LayoutTests/fast/events/touch/emulate-touch-events.html
@@ -94,6 +94,9 @@ function mouseEventSequence()
if (window.eventSender && window.internals && window.internals.settings) {
description("This tests single touch event emulation using mouse events.");
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
+
window.eventSender.dragMode = false;
window.jsTestIsAsync = true;
window.internals.settings.setTouchEventEmulationEnabled(true);
« no previous file with comments | « LayoutTests/fast/events/scrollbar-double-click.html ('k') | LayoutTests/fast/events/touch/gesture/gesture-click.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698