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

Unified Diff: LayoutTests/fast/files/file-reader-event-listener.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/fast/files/file-reader-event-listener.html
diff --git a/LayoutTests/fast/files/file-reader-event-listener.html b/LayoutTests/fast/files/file-reader-event-listener.html
index eea086b4432a8ffcc1ad7436e3b05eef9d4b1ee2..aaada163d9e2f625a6cf3a9370b829879a9b5708 100644
--- a/LayoutTests/fast/files/file-reader-event-listener.html
+++ b/LayoutTests/fast/files/file-reader-event-listener.html
@@ -82,6 +82,8 @@ function onInputFileChange()
function runTests()
{
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.beginDragWithFiles(['resources/UTF8.txt']);
eventSender.mouseMoveTo(10, 10);
eventSender.mouseUp();

Powered by Google App Engine
This is Rietveld 408576698