[csswg-drafts] [css-nesting-1] Declaration occuring after an invalid nested rule (#7501)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-nesting-1] Declaration occuring after an invalid nested rule ==
> Declarations occuring after a nested rule are invalid and ignored.

https://drafts.csswg.org/css-nesting-1/#mixing

Does this mean that a declaration occuring after an invalid nested rule is valid? For example:

```css
ul {
  @invalid;
  padding-inline-start: 1em;
}
```

If so, I suggest:

> Declarations occuring after a **valid** nested rule are invalid and ignored.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7501 using your GitHub account


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

Received on Friday, 15 July 2022 07:56:23 UTC