Re: [csswg-drafts] [css-nesting-1] Invalid nested selectors (#7503)

Yeah, Romain, you are right: `p { &p {} }` could be valid, and `p { &div {} }` could just match nothing.

---

> The nesting selector is allowed anywhere in a compound selector, even before a type selector, violating the normal restrictions on ordering within a compound selector.

`svg { &|rect {}`: is it valid or does the above definition means "anywhere at the "top-level" of `<compound-selector>`?

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


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

Received on Tuesday, 29 November 2022 08:57:10 UTC