W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2010

[whatwg] Drag-and-drop feedback

From: Daniel Cheng <dcheng@google.com>
Date: Thu, 4 Feb 2010 16:42:19 -0800
Message-ID: <cdc844f71002041642q5ce9cf6fi5636738d40eb232f@mail.gmail.com>
>
> 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.

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100204/822ac7b4/attachment.htm>
Received on Thursday, 4 February 2010 16:42:19 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:20 UTC