Bug 53246 - input type=file elements in hidden div
Summary: input type=file elements in hidden div
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Blocker
Assignee: Nobody
URL: http://voorzet.info/voorweb/voorweb_s...
Depends on:
Reported: 2011-01-27 10:18 PST by lvschie
Modified: 2011-01-29 10:28 PST (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description lvschie 2011-01-27 10:18:50 PST
It seems that when you have an input type=file element within a div that's hidden (in this case behind a previous tab prior to submitting the form) Safari (any version) hangs 5 out of 10 times. Safari is the only browser that has this "feature" and I can't imagine that I'm the only one that hides input elements behind tabs.

This bug has been bugging me since the first version of Safari and Webkit, and it would be nice if someone fixed the issue or provided me with a work-around.
Comment 1 lvschie 2011-01-28 00:40:39 PST
It's predominantly with local file uploads.
Comment 2 Patrick R. Gansterer 2011-01-29 10:28:30 PST
I don't see a problem.
When does it hang? When switching the "tab"? When uploading?
Can you provide a reduced test case (e.g. a page witch hides a div with a file input) and attach it here at the bug?