Re: Selectors, getElementsByTagName() and camelCase SVG

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