Re: [csswg-drafts] [css-nesting-1] Clarify valid position of `&` in a selector (#9940)

Indeed, they could be validated without considering the selector of the parent style rule. This is not specified.

I would not mind if it was. It may be surprising that `::before:first-child, div:first-child {}` is entirely ignored, whereas the nested version is not.

This is slighlty unrelated to my original question though. Maybe I should create a dedicated one.

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


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

Received on Tuesday, 13 February 2024 13:12:23 UTC