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

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