Re: [csswg-drafts] [css-nesting-1] & representing parent elements vs parent selector (#8310)

> The current implementation desugars with `:is()` (per spec) so it is not an issue at the moment.

Won't it still be?

```
.a, .b, .c, .d {
  & &, & &, & &, & & {
    & &, & &, & &, & & {
      & &, & &, & &, & & {
        & &, & &, & &, & & {
          color: red;
        }
      }
    }
  }
}
```

If you desugar, you'd end up with exponential :is() lists and thus RAM usage, right?

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


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

Received on Wednesday, 18 January 2023 11:48:59 UTC