W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2007

[whatwg] <map id="">

From: Jonas Sicking <jonas@sicking.cc>
Date: Sat, 18 Aug 2007 10:37:03 -0700
Message-ID: <46C72E3F.5020606@sicking.cc>
>> As for case:
>>
>> [Opera]
>> match for id or name is case-insensitive regardless of mime type.
>>
>> [Firefox and Safari]
>> application/xhtml+xml
>> match for id is case-sensitive
>> text/html
>> match for name is case-insensitive
>>
>> [IE6]
>> match for name or id is case-insenstive.
>>
>> So, it seems it might have to be case-sensitive for xhtml5 (since
>> other things are case-sensitive in xml)  and case-insensitive for
>> html5. (Unless there's no need to be case-sensitive for XHTML5. If so,
>> then Opera's way would be cool.)
> 
> I don't see any need for it to be case-sensitive for XHTML5. :-)
> 
> [1] 
> http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2007-April/010975.html

Since ID is case sensitive everywhere else, I don't see a reason to make 
an exception from that rule here. That seems to unnecessarily complicate 
implementation as well as introduce weird inconsistencies for authors.

/ Jonas
Received on Saturday, 18 August 2007 10:37:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:36 UTC