3 ms·
Sorry, this is just wrong. I am currently working on a drag-and-drop uploading tool, and would really like to use html5 to do it. The new interfaces involved a
by paulitex 16y ago
Sorry, this is just wrong.
I am currently working on a drag-and-drop uploading tool, and would really like to use html5 to do it. The new interfaces involved are the drag and drop (http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dnd http://www.whatwg.org/specs/web-apps/current-work/multipage/...) and File (http://www.w3.org/TR/file-upload/ http://www.w3.org/TR/file-upload/) APIs. Unfortunately, everyone except for Firefox have been slow in implementing the File interface, leaving me with a situation where the only shipping browser where standards-based code runs is Firefox 3.6 (fwiw, it works in Webkit nightly and Chrome 6 dev).
In shipping webkit (safari 5, chrome 5), File is implemented (which gives meta data about a native file) but not FileReader (which gives the actual data) (btw if someone knows of a non-standard way to get the data from the File object in shipping webkit please let me know, i just want this to work. FF had a non-standard getAsBinary() method on the File object before FileReader was implemented, for example).
Opera doesn't even have File implemented.
Again, FF is the only shipping browser that native os-to-webapp uploading drags work in a standards compliant way. Give them some credit.
- iamelgringo 16y agoI'm not saying that FF or other browsers doesn't innovate. I'm just saying that I've seen tons of features that have started in Opera that end up implemented in other browsers.