[Webkit-unassigned] [Bug 67567] New: File input retains its file icon when the value is reset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 3 11:29:26 PDT 2011


           Summary: File input retains its file icon when the value is
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://felixcloutier.com/documents/webkit-fileinput.ht
        OS/Version: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: felixcca at yahoo.ca

Empty file inputs visually consist of a button and the text 'no file selected'. File inputs with a value, instead, have a button, a file icon, and a file label.

However, when an <input type="file"> is reset through Javascript (input.value = ''), the file label reverts to 'no file selected', but the file icon stays there.

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