W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

Re: [csswg-drafts] [selectors-4] Case-sensitive attribute selectors

From: SelenIT via GitHub <sysbot+gh@w3.org>
Date: Mon, 11 Dec 2017 08:59:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-350661450-1512982778-sysbot+gh@w3.org>
That's very strange! Both HTML specs ([WHATWG](https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-type) and [W3C](https://www.w3.org/TR/html/grouping-content.html#element-attrdef-ol-type)) state that the value of this attribute should be compared case-sensitively (and the Rendering section of the both specs [repeats](https://html.spec.whatwg.org/multipage/rendering.html#decohints) [this](https://www.w3.org/TR/html/rendering.html#ref-for-presentational-hints-21)). The DOM value of the `type` propery of the element, which "reflects" the value of the attribute, is also reported case-sensitively. Is this wrong case attribute selector matching a bug in all browsers?

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2101#issuecomment-350661450 using your GitHub account
Received on Monday, 11 December 2017 08:59:40 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:21 UTC