Re: Selectors, getElementsByTagName() and camelCase SVG

Jonas Sicking:
> > I think there are three obvious options here:
> >
> > 1)  What the spec currently has.
> > 2)  What Gecko/Webkit currently do.
> > 3)  Having createElementNS(xhtml_ns, str) ascii-lowercase str in HTML
> >      (but not XHTML, of course) documents, then do what Gecko/Webkit
> >      currently do.
> >
> > Is there a reason to not take approach 3?
> 
> I really like option 3 here. It makes things very consistent in that
> HTML elements in a HTML document are case insensitive through and
> through. And HTML element would be defined as any element in xhtml_ns.

Apologies for not paying enough attention, here.  What is the current
suggestion for handling camel-cased SVG elements in
createElement{,NS}(), getElementsByTagName{,NS}() and Selectors?

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Friday, 3 April 2009 00:15:47 UTC