- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Tue, 05 Mar 2024 07:43:42 +0000
- To: public-css-archive@w3.org
I'm not convinced.
> element selectors
Perfectly covered by `:tag()` from https://github.com/w3c/csswg-drafts/issues/6571#issuecomment-912144703
> attribute presence
We could add something for this, e.g.
```css
:attr(^= foo-) /* Matches if there is an attribute whose name starts with foo- */
:attr(^= foo-, ^= bar-) /* Matches if there is an attribute whose name starts with foo-
and whose value starts with bar- */
```
By using `*` we lose the ability to customize the matching, e.g. specifying case sensitivity.
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10001#issuecomment-1978138206 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 5 March 2024 07:43:43 UTC