W3C home > Mailing lists > Public > public-html@w3.org > April 2009

Re: Selectors, getElementsByTagName() and camelCase SVG

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 3 Apr 2009 15:20:40 +1100
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: HTML WG <public-html@w3.org>, www-svg <www-svg@w3.org>
Message-ID: <20090403042040.GH22657@arc.mcc.id.au>
Boris Zbarsky:
> Per the current HTML5 spec text:

Thanks for this summary.

> Was that the question?  Or were you asking about the two proposals to  
> modify this?

Both, really.  It seemed like an agreement was being converged on, but
it wasn’t apparent to me what exactly the changes being proposed were.

I just read back through the thread and I have a better idea of
what’s being discussed now. :-)

To me, it would seem to be confusing if getElementsByTagName() behaved
differently depending on whether it was called on an HTML node or a
different kind of node.  It would make more sense to me if it did case
insensitive matching for an element in the subtree if it were an HTML
element, and case sensitive otherwise (assuming we don’t want to make
everything case insensitive in HTML documents, including foreign content
nodes).  Also, I would expect selectors to just work case insensitively
all the time.

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Friday, 3 April 2009 04:21:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:02 UTC