- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Thu, 06 Oct 2022 01:22:47 +0000
- To: public-css-archive@w3.org
> The definition would basically be, within nested context it refers to the nesting selector, and otherwise it's an alias for :scope. IIRC this expands to the following consequences: > > Within nested context, it refers to the nesting element > >If not, should :scope and & be syntactic aliases (i.e. make :scope expand out the same as & in nested contexts) or should they differ in some cases (nested selectors, or other cases)? - `&` : any element that would be matched by the selector of the enclosing rule (i.e. `:is(...)`) - `:scope` either a true element or a virtual one I think this is too different and making them aliases would be confusing. `& + &` vs. `:scope + :scope` -- GitHub Notification of comment by romainmenke Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5745#issuecomment-1269183179 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 6 October 2022 01:22:48 UTC