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

Unified Diff: LayoutTests/fast/events/pointer-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/pointer-events.html
diff --git a/LayoutTests/fast/events/pointer-events.html b/LayoutTests/fast/events/pointer-events.html
index 8c31125e8da4c22747cde990c74354d0a248f0fa..a33bccdb3eaab953f42cb50b414c18251db72372 100644
--- a/LayoutTests/fast/events/pointer-events.html
+++ b/LayoutTests/fast/events/pointer-events.html
@@ -50,6 +50,8 @@
testContent.appendChild(hit);
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
// Cell click
eventSender.mouseMoveTo(15, yOffset + 10);
eventSender.mouseDown();
« no previous file with comments | « LayoutTests/fast/events/mouseup-outside-document.html ('k') | LayoutTests/fast/events/pointer-events-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698