- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 28 Oct 2021 19:07:50 +0000
- To: public-css-archive@w3.org
Yeah, except for the specifically-noted exceptions, Selectors only see a single tree at a time, so `:empty` matching an empty element with a shadow tree is correct per spec. That said, `:empty` is kinda janky anyway, and making it more useful for cases like this seems all right to me. Could you elaborate on what you were actually trying to do with `:empty` where the current behavior caused you problems? -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6771#issuecomment-954123041 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 28 October 2021 19:07:52 UTC