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

That is a single declaration for `background-color` with the value `#bad .bar {...}`, finally ended by the close brace of its containing rule. Declarations don't end until they see a semicolon or their parent rule's closing brace. Leaving off your ending semicolon has always resulted in an invalid declaration unless it happened to be at the end of a rule.

(There's nothing prop-3-specific about this, this is just the existing behavior of how declarations are parsed.)

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


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

Received on Wednesday, 19 October 2022 19:17:54 UTC