- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Sat, 03 Jul 2021 15:12:43 +0000
- To: public-css-archive@w3.org
Yeah, the `hidden` thing is an unfortunate consequence of the fact that the hidden attribute is simply broken, and always has been. There's nothing we can do to fix it, either, unfortunately; in particular, making the change requested here wouldn't do anything for it. The host element not matching :where() *is* according to spec right now (nothing matches the element unless explicitly specified to do so), but :where() and :is() are definitely special-cases in that they're effectively selector grammar, not selectors themselves. I think it would be reasonable to allow them to match the host element, so long as one of their contained selectors does. I don't know how UAs currently implement the featureless thing, tho, so I'm not sure if it's a big deal to extend to :where()/:is() or not. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6420#issuecomment-873421848 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 3 July 2021 15:12:45 UTC