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

Unified Diff: LayoutTests/fast/files/file-list-test.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
« no previous file with comments | « LayoutTests/fast/files/apply-blob-url-to-xhr.html ('k') | LayoutTests/fast/files/file-reader-abort.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/files/file-list-test.html
diff --git a/LayoutTests/fast/files/file-list-test.html b/LayoutTests/fast/files/file-list-test.html
index 051258b20665aa884ecd0fe90208c03901f2c39a..a8415fa31895027d3930420807be5d1922fafc36 100644
--- a/LayoutTests/fast/files/file-list-test.html
+++ b/LayoutTests/fast/files/file-list-test.html
@@ -32,6 +32,8 @@ function onInputFileChange(files)
shouldBeTrue("files.item(undefined) === files.item(0)");
}
+// Mouse events only work after an initial layout
+document.body.offsetLeft;
eventSender.beginDragWithFiles(["resources/UTF8.txt", "resources/UTF8-2.txt"]);
eventSender.mouseMoveTo(10, 10);
eventSender.mouseUp();
« no previous file with comments | « LayoutTests/fast/files/apply-blob-url-to-xhr.html ('k') | LayoutTests/fast/files/file-reader-abort.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698