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

> Declarations don't end until they see a semicolon or their parent rule's closing brace.

Yes exactly, except the current value parsers/tokenizers can, and often do, assume that a closing brace belongs to the parent rule. Nesting changes this in a subtle way. So parsers/tokenizers now need to track the parity of braces.

I think these scenarios needs some text, just to make sure we have rules to work with.


-- 
GitHub Notification of comment by fd
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7834#issuecomment-1284476013 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:29:16 UTC