Re: [csswg-drafts] [css-cascade] [css-nesting] Figure out whether we're fine with "shifting up" bare declarations after rules (#8738)

> Almost everyone’s code naturally ends up having declarations interleaved with rules.

Do you have any insights into how many times they interleaved in a way that the order actually mattered?

e.g.

```css
.foo {
  .theme-blue & {
    color: blue; /* never applied if we don't shift up */
  }

  color: green;
}
```

I am expecting this to be extremely rare.

I know that this would only be anecdotal, but I still find it interesting :)

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


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

Received on Wednesday, 10 April 2024 13:55:01 UTC