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

Nope, that's fine too, because the `}` will cause the algo to return the rule successfully (and trip the parsing switch). It won't continue looking forward after it's found a complete rule.

The `;` will then screw with the *next* rule, but that's true of any garbage following a rule. In your precise example it does nothing since there's no following rule.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7834#issuecomment-1275220521 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 20:13:00 UTC