- From: Rune Lillesveen via GitHub <sysbot+gh@w3.org>
- Date: Wed, 15 Feb 2023 19:52:58 +0000
- To: public-css-archive@w3.org
> > Parses, but always fail matching inside matches-any selectors like :is() > > so It will not work in nested rules? In some cases that is true for the current prototype, and may be a good argument for allowing :initial to match in (possibly nested) any-matches type of selectors. It comes at the cost that we can not early out of matching matches-any selectors when we are computing styles for the initial styles and we have not matched any :initial pseudo selectors yet. ```css /* Does not work */ :initial { div & {} } /* Works */ div { & :initial { } } ``` -- GitHub Notification of comment by lilles Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8174#issuecomment-1431938582 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 15 February 2023 19:53:01 UTC