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

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

From: Rune Lillesveen <rune@opera.com>
Date: Thu, 7 May 2015 14:33:06 +0200
Message-ID: <CANz6XvSbPnBo2j+nvbw5vYOqREBMqeJEOTTK=o0we6FECBvxCg@mail.gmail.com>
To: rh_whatwg@skuldwyrm.no
Cc: whatwg@lists.whatwg.org
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

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