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

On Thu, May 7, 2015 at 2:13 PM, Roger Hågensen <rh_whatwg@skuldwyrm.no> wrote:
> On 2015-05-07 13:16, Rune Lillesveen wrote:
>>
>> Currently, the HTML spec says that type selectors matches case
>> sensitively for non-html elements like svg elements in html documents
>> ...
>>
>> This adds an implementation complexity to type selector matching.
>> What's the rationale for matching the selector case-sensitively in the
>> svg case?
>
> Isn't SVG based on XML? Which means SVG is probably case sensitive!

My questions are about SVG elements parsed by the HTML parser to
create an HTML document. Parsing SVG tag names are case-insensitive in
HTML documents, yet normalized to their camelCased form.

-- 
Rune Lillesveen

Received on Thursday, 7 May 2015 12:33:31 UTC