News for hackers. Stuff that matters.
Re:IE10 Platform Preview 2 Released by rkalla on Wednesday June 29, 2011 @07:02PM (#2711739)
Big win here (for me) was the File API finally got added so you can do DnD uploads now. IE has actually supported the DnD API for a while now, but didn't have the File API component to make the upload happen.

Rendering speed didn't seem much different than 9 and slower than Chrome 12 for me; not by much though. Now adays it seems all these browsers are rendering at insane speeds given what they could barely pull off 5 years ago.

I love the browser wars.

Re:IE10 Platform Preview 2 Released by Jacob4u2 on Wednesday June 29, 2011 @10:01PM (#2712190)
There is a polyfill out that handles the lack of File API in IE and earlier versions of Safari; http://sandbox.knarly.com/js/dropfiles/.

Also, great list of polyfills available at the Modernizr github repo; https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-brow... .

Re:IE10 Platform Preview 2 Released by dave1010uk on Thursday June 30, 2011 @07:34AM (#2713565)
Just curious: what do you get from the DnD API that you don't get from an [input type="file"]? Is it just the flexibility in design?

I know a few (non-technical) people who are happy using a "choose file" dialog but would really struggle performing a drag and drop: opening Explorer, navigating to a folder, resizing Explorer and the browser so they're both visible on the screen (even fewer people know you can drag files to the task bar to activate another window) and then dragging files to the drop target.