[Webkit-unassigned] [Bug 71858] New: Drag and dropping files over <input type=file accept> does not filter out unacceptable files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 8 14:35:29 PST 2011


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

           Summary: Drag and dropping files over <input type=file accept>
                    does not filter out unacceptable files
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.7
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jonlee at apple.com
                CC: webkit-bug-importer at group.apple.com


Open a web page with a file input element which includes the accept attribute with a value of "image/*"

When you click on the "Choose File" button Safari will show the open file panel, allowing the user to only choose image files.

But you can drag a .pdf file over the file input and it will accept it.

-- 
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