[whatwg] Drag-and-drop feedback

Daniel Cheng dcheng at google.com
Thu Feb 4 16:42:19 PST 2010

> Webkit and Firefox are case-sensitive. IE only does "TEXT" and "URL", but
> case-insensitively (at least for Text, I didn't test URL). Chrome is
> case-insensitive for everything.
> Tough call. I guess we'll go with just converting everything to lowercase,
> so that it's case-insensitive.
> BTW I noticed Chrome includes "Text" and "URL" in the .types list. That's
> incorrect according to the spec.

If event.dataTransfer converts everything to lowercase, that means there are
native formats that will always be impossible to access. Since "text" and
"url" are already special, maybe case should only be ignored for those two.
All other formats, even if they are actually MIME type strings, should be
handled in a case-sensitive manner.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100204/822ac7b4/attachment-0002.htm>

More information about the whatwg mailing list