Re: [csswg-drafts] [css-nesting-1] Does nesting affect forgiveness of selector lists in the parent. (#7975)

Already answered here : https://twitter.com/tabatkins/status/1585758988691378176

@jonathantneal said :

>Regarding selector validity and out of curiosity, what would this do?
>```css
>:root, :falkor {
>  :is(&) {
>    background: green;
>  }
>}
>```
>Do unforgiving rules on top-level selectors prevent their nested rule from ever being considered? If so, should polyfills be super duper careful here?

@tabatkins said :

> The `:falkor` invalidates the entire parent rule and all its contents, so we never even get to worrying about substitution.

-- 
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7975#issuecomment-1295353080 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 28 October 2022 19:04:01 UTC