- From: Jen Simmons via GitHub <sysbot+gh@w3.org>
- Date: Fri, 06 Oct 2023 17:54:26 +0000
- To: public-css-archive@w3.org
I do not believe it's correct for these two blocks to end up with different results: ``` h1 { color: yellow; @media (width > 0) { color: red; } color: green; } ``` ``` h2 { color: yellow; @media (width > 0) { color: red; } & { color: green; } } ``` (Try it in a browser with support for CSS Nesting: https://codepen.io/jensimmons/pen/KKbrJBp/5861d875920bb25695c12975bf627b75?editors=1100 ) The ampersand should be a clean substitute for the unnested selector, not something that changes the result. -- GitHub Notification of comment by jensimmons Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8738#issuecomment-1751190659 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 6 October 2023 17:54:28 UTC