Re: [csswg-drafts] [css-nesting-1] Syntax Invites Errors (#7834)

```css
div {
  background: green;
  .background: red;
  color: white;
}
```

With code like the above, the `color` property still applies due to error recovery. But if `.` started a different parsing mode, it wouldn't. Same with `&` or any other currently-invalid character. It may be particularly common with `*` as that was historically used as an IE-specific hack, but would also conflict with a selector.

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


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

Received on Tuesday, 11 October 2022 18:43:44 UTC