- From: Valtteri Laitinen via GitHub <sysbot+gh@w3.org>
- Date: Mon, 11 Dec 2017 10:23:36 +0000
- To: public-css-archive@w3.org
Yeah, that feels very strange! The `type` attribute is always compared case-insensitively in other elements too.
A test case:
```html
<style>
p, foo {
display: block;
height: 2em;
}
[type=a] { background: blue }
[type=A] { background: green }
</style>
<p type="a"></p>
<p type="A"></p>
<foo type="a"></foo>
<foo type="A"></foo>
```
All the boxes are green.
Tested with Chrome 63, Firefox 57 and Safari 11.
--
GitHub Notification of comment by valtlai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2101#issuecomment-350682449 using your GitHub account
Received on Monday, 11 December 2017 10:23:37 UTC