- From: Tommy Hodgins via GitHub <sysbot+gh@w3.org>
- Date: Fri, 13 Jul 2018 17:26:50 +0000
- To: public-css-archive@w3.org
I'm still fond of `:is()` because of the brevity and clarity, but if that's been decided against would a name like `:selector()` be a good replacement? Something like `:selector()` indicates to me that it would match a CSS selector, and when styled like a pseudo-class (`:()`) it can modify any part of a selector as well. Here are some examples so you can see what it might look like and how it reads in code: ```css a:selector(.active) { } :selector(header, footer, nav) a { } ``` It's not explicit that it's ignoring specificity, but it seems less permanent, or less strong than if I had written the same selector directly. What do you think? -- GitHub Notification of comment by tomhodgins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2143#issuecomment-404899728 using your GitHub account
Received on Friday, 13 July 2018 17:27:31 UTC