[whatwg] Drag-and-drop feedback

>
> On Tue, 9 Mar 2010, Daniel Cheng wrote:
> >
> > I think files have always been a special case and should continue to be
> > handled that way. I don't think there's any platform pasteboard that
> > supports multiple items of one non-file type, so it'd make the most
> > sense to make it a 1:1 mapping from types to data.
>
> Currently the new DataTransferItems API doesn't enforce the limit of one
> "string" item per type. Should it?


What happens if a page were to add multiple string items of "text/plain"?
How would that translate if dragging to a native app? There's also some
implementation concerns here--it'd be harder/require more memory to preserve
multiple strings of the same type when dragging things within a page.
(If/when Blob support is added, the same comments generally apply)

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20101102/28adfe32/attachment.htm>

Received on Tuesday, 2 November 2010 16:37:33 UTC