W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2002

RE: getElementsByTagName() in Mozilla HTML implementation

From: Rowland Shaw <Rowland.Shaw@crystaldecisions.com>
Date: Thu, 7 Feb 2002 01:45:49 -0800
Message-ID: <963A03BCAFF059488BAFF33AE5C8709707FFE5@IPSENT04>
To: "'Thomas Much'" <thomas@snailshell.de>, Curt Arnold <curta_ontheroad@yahoo.com>, Manos Batsis <m.batsis@bsnet.gr>, www-dom@w3.org
> > Internet Explorer and Mozilla are both correctly case
> > sensitive for XML (and XHTML).  Their behavior differs
> > for HTML documents.  IE appears either to perform a
> > case-insensitive match on the tag name, Mozilla
> > performs a case-sensitive match.
> You'd break existing code if you demand HTML to be case-sensitive. HTML
> always been case-*in*sensitive. So, Mozilla should change it's behaviour
> HTML documents.

According to http://www.w3.org/TR/html401/struct/global.html#adef-id the id
attribute *is* case-sensitive in HTML 4.01, and in that respect, I'd say
that the Gecko implementation is correct.
Received on Thursday, 7 February 2002 06:40:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC