[Webkit-unassigned] [Bug 58208] hidden attribute on <input type=file /> suppresses the file selection dialog

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 13 12:21:28 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58208





--- Comment #5 from Charles Pritchard <chuck at jumis.com>  2011-10-13 12:21:28 PST ---
(In reply to comment #3)
> There's some question about whether the click() method should work at all on this control, but it's behavior shouldn't be different depending on the hidden attribute (unless required by compatibility).

Mozilla has enabled the .click() method even when the control is otherwise hidden. Using opacity: 0 and setting width/height dimensions are what I usually do for WebKit, though webkit's pseudo-selectors are powerful enough to handle it with more grace.

I strongly suggest keeping click, to stay in line with Mozilla.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list