[Webkit-unassigned] [Bug 63898] New: Folders should be filtered from file Drag and Drop
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 4 04:47:02 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63898
Summary: Folders should be filtered from file Drag and Drop
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://jsfiddle.net/meleyal/4CX6X/15/
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: william.meleyal at gmail.com
In Webkit there is currently no way to determine if a file drop is a folder or not.
* Chrome returns a FileList with a length of 0.
* Firefox returns a FileList with a length of 1, but always reports a file size of 0 for folders, so you can provide a workaround.
* Webkit allows the folder to be dropped, and the file size varies depending on the folder contents.
http://stackoverflow.com/questions/4857846/html5-drag-and-drop-detect-folders-in-safari-filelist-file
http://jsfiddle.net/meleyal/4CX6X/15/
--
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