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

Unified Diff: LayoutTests/fast/forms/file/get-file-upload.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/forms/file/get-file-upload.html
diff --git a/LayoutTests/fast/forms/file/get-file-upload.html b/LayoutTests/fast/forms/file/get-file-upload.html
index badb33268a9a9fd4663aba3684d3e2a6841f29c6..fafbe3332a38e35d005c9d9eb65f3c600fd5a160 100644
--- a/LayoutTests/fast/forms/file/get-file-upload.html
+++ b/LayoutTests/fast/forms/file/get-file-upload.html
@@ -24,6 +24,8 @@ function startOrVerify()
log('FAIL: ' + query);
testRunner.notifyDone();
} else {
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
// Start the test
eventSender.beginDragWithFiles(['get-file-upload.html']);
eventSender.mouseMoveTo(10, 10);

Powered by Google App Engine
This is Rietveld 408576698