- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Fri, 28 Jan 2022 12:35:16 +0000
- To: public-css-archive@w3.org
> Personally I would go with something more simple, as it was said - referring to the whole of the parent selector is the most common use-case. Do you mean the outer most selector? As "parent selector" is relative as I interpret it :) ```pcss .container { & .widget { /* whole parent : .container */ /* outer most selector : .container */ &:hover { /* whole parent : .container .widget */ /* outer most selector : .container */ } } } ``` I think the proposal by LeaVerou is an elegant and non-ambiguous solution. It not only covers the most common case I do wonder if this complicates implementing nested selectors? _Not relevant here, but this behaviour would make a postcss plugin much more complex._ -- GitHub Notification of comment by romainmenke Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6977#issuecomment-1024174271 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 28 January 2022 12:35:18 UTC