W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2015

Re: [whatwg] Case-sensitivity of CSS type selectors in HTML

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Thu, 07 May 2015 17:09:55 -0400
Message-ID: <554BD4A3.5050404@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: WHATWG <whatwg@lists.whatwg.org>, Rune Lillesveen <rune@opera.com>
On 5/7/15 5:07 PM, Tab Atkins Jr. wrote:
> I believe the SVGWG is fine with a parsing-based approach, exactly
> like what HTML does.  An SVG element created with mixed casing, or
> imported from an XML document, might not match a lowercase tagname
> selector, but SVG written in HTML will.

Hmm.  The main problem here is for scripts that create SVG elements in 
an HTML document, since those have to use createElementNS and pass the 
mixed-case names (e.g. for foreignObject).

-Boris
Received on Thursday, 7 May 2015 21:10:21 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:31 UTC