NEW 71858
Drag and dropping files over <input type=file accept> does not filter out unacceptable files
https://bugs.webkit.org/show_bug.cgi?id=71858
Summary Drag and dropping files over <input type=file accept> does not filter out una...
Jon Lee
Reported 2011-11-08 14:35:29 PST
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2011-11-08 14:35:52 PST
Alexey Proskuryakov
Comment 2 2011-11-09 17:14:14 PST
It could be a weird user experience if a drag is accepted, but some files in a drag are ignored. Do any other browsers do this?
Note You need to log in before you can comment on or make changes to this bug.