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

Unified Diff: LayoutTests/fast/forms/file/input-file-re-render.html

Issue 15494007: Also add forced layouts to a new test (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/file/input-file-re-render.html
diff --git a/LayoutTests/fast/forms/file/input-file-re-render.html b/LayoutTests/fast/forms/file/input-file-re-render.html
index d11ea8eb26c9304003f9da3d6bc5293c83d3ccba..8050e1dd5e7fd392acb7cb2de4182c0aeb28d899 100644
--- a/LayoutTests/fast/forms/file/input-file-re-render.html
+++ b/LayoutTests/fast/forms/file/input-file-re-render.html
@@ -11,6 +11,9 @@ function startTest()
{
var input = document.getElementById('file');
+ // Mouse events only work after an initial layout
+ document.body.offsetLeft;
+
// Drop 2 files to the control.
eventSender.beginDragWithFiles(['input-file-re-render.html', 'script-tests/TEMPLATE.html']);
eventSender.mouseMoveTo(10, 10);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698