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

Unified Diff: LayoutTests/fast/events/drop-with-file-paths.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/drop-with-file-paths.html
diff --git a/LayoutTests/fast/events/drop-with-file-paths.html b/LayoutTests/fast/events/drop-with-file-paths.html
index 3fb767570cb45b477f2bd2131b75b1fe18c09488..39dffec00cfffe212c79f86ae7a46385ab2d938b 100644
--- a/LayoutTests/fast/events/drop-with-file-paths.html
+++ b/LayoutTests/fast/events/drop-with-file-paths.html
@@ -8,6 +8,8 @@ function runTest() {
window.testRunner.dumpAsText();
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
eventSender.beginDragWithFiles(['resources/file-for-drop-with-file-paths.html']);
eventSender.mouseMoveTo(10, 10);
eventSender.mouseUp();
« no previous file with comments | « LayoutTests/fast/events/dblclick-addEventListener.html ('k') | LayoutTests/fast/events/event-view-toString.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698