Re: [csswg-drafts] [css-nesting] How to resolve nested CSS with pseudo elements in the parent (#7433)

> They did not, precisely because this _is_ a huge problem.

I’m sorry, my mental model was off. I didn’t see the full complexity. 

Adding an explanation of why `.anything::before { .something_else > &` is invalid to the spec would be helpful. 

Linting and devtools will help, and hopefully nesting in pseudo-elements / a more flexible :is() can be solved in a later spec 🤞🏼





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


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

Received on Friday, 21 October 2022 21:52:50 UTC