[Bug 23781] New: id and class should be case-insensitive in quirks
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <[email protected]/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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
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.