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

Unified Diff: LayoutTests/fast/files/resources/setup-for-read-common.js

Issue 15508003: Revert "Don't force layout for mouse event hit tests" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/resources/setup-for-read-common.js
diff --git a/LayoutTests/fast/files/resources/setup-for-read-common.js b/LayoutTests/fast/files/resources/setup-for-read-common.js
index fd4ac0490fe73fb86d52c185e696dcba1dec4c68..a04ff90bab7e702628142ea4062aeda7b61fd76e 100644
--- a/LayoutTests/fast/files/resources/setup-for-read-common.js
+++ b/LayoutTests/fast/files/resources/setup-for-read-common.js
@@ -20,8 +20,6 @@ function onInputFileChange(testFileInfoList)
function runTests(testFileInfoList)
{
var pathsOnly = testFileInfoList.map(function(fileSpec) { return fileSpec['path']; });
- // Mouse events only work after an initial layout
- document.body.offsetLeft;
eventSender.beginDragWithFiles(pathsOnly);
eventSender.mouseMoveTo(10, 10);
eventSender.mouseUp();

Powered by Google App Engine
This is Rietveld 408576698