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..3330f816e12c2e0d99be9923ced6b62a84426f35 100644 |
--- a/LayoutTests/fast/forms/file/input-file-re-render.html |
+++ b/LayoutTests/fast/forms/file/input-file-re-render.html |
@@ -16,6 +16,13 @@ function startTest() |
eventSender.mouseMoveTo(10, 10); |
eventSender.mouseUp(); |
+ // Move the mouse away before moving on. This is done because landing the patch for bug 249328 |
+ // would cause this test to fail. That patch fixes a hover problem which causes this test |
+ // to actually perform correctly (after switching back to display: inline-block, the style of |
+ // the file control would be 'hovered', since it's under the mouse). However, the 'expected' |
+ // PNG files were created when this was not working properly, and the control is in its un-hovered state. |
+ eventSender.mouseMoveTo(300, 300); |
+ |
// Delete the renderer. |
input.style.display = 'none'; |
input.offsetWidth; // Force to do layout |