W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2013

[Bug 23781] New: id and class should be case-insensitive in quirks

From: <bugzilla@jessica.w3.org>
Date: Sat, 09 Nov 2013 02:16:40 +0000
To: www-dom@w3.org
Message-ID: <bug-23781-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23781

            Bug ID: 23781
           Summary: id and class should be case-insensitive in quirks
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: simonp@opera.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

http://dom.spec.whatwg.org/#concept-id

[[
unique identifier (ID)
]]

HTML says

[[
The unique identifier of HTML elements in documents that are in quirks mode
must be treated as ASCII case-insensitive for the purposes of selector
matching.

Classes from the class attribute of HTML elements in documents that are in
quirks mode must be treated as ASCII case-insensitive for the purposes of
selector matching.
]]
http://www.whatwg.org/specs/web-apps/current-work/multipage/selectors.html#case-sensitivity

But this should apply to all elements. It applies to SVG too in browsers and
also elements in unknown namespace (in Blink at least, Gecko appears to not
support selecting such elements with id selector). Since it applies to all
elements it might be good to move to DOM (or be directly in Selectors?).

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2627 (control)
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2628

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Saturday, 9 November 2013 02:16:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:21 UTC