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

Unified Diff: LayoutTests/http/tests/navigation/resources/javascriptlink.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/http/tests/navigation/resources/javascriptlink.html
diff --git a/LayoutTests/http/tests/navigation/resources/javascriptlink.html b/LayoutTests/http/tests/navigation/resources/javascriptlink.html
index a9774493fb6c38c4a59ed5518ea47274a6a6b2a9..47a4d504671e3ec876d7e34af25d9070f79dbfeb 100644
--- a/LayoutTests/http/tests/navigation/resources/javascriptlink.html
+++ b/LayoutTests/http/tests/navigation/resources/javascriptlink.html
@@ -5,6 +5,8 @@
function performUserEvents() {
if (window.eventSender) {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.mouseMoveTo(15, 15);
eventSender.mouseDown();
eventSender.mouseUp();

Powered by Google App Engine
This is Rietveld 408576698