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

[whatwg] Drag-and-drop feedback

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 5 Feb 2010 01:28:17 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1002050123090.26790@ps20323.dreamhostps.com>
On Thu, 4 Feb 2010, Daniel Cheng wrote:
> >
> > 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.

The spec requires that the UA lowercase all the native types as well (and 
that they be converted to MIME types).

Could you elaborate on which types would be a problem, and on what 
platforms?


> 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.

In your previous e-mail, you were arguing they should be 
case-insensitive... I think your earlier arguments are more persuasive. 
The MIME type specs do say they're case-insensitive.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 4 February 2010 17:28:17 UTC

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