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

You can't even use a bit, because an author could write

```css
.foo {
  color: blue;
  @media (...) {...}
  color: red;
}
```

And then *delete* the MQ via CSSOM, thus putting the `@nest` back up against the bare declarations. So you'd need to determine it fresh each time.

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


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

Received on Tuesday, 16 April 2024 16:17:19 UTC