Re: [csswg-drafts] [css-nesting] Syntax suggestion (#4748)

Having a parser switch like that would be unprecedented in CSS; the closest thing we have to it is the @charset syntax, which also *looks like* an at-rule but isn't and has effects on how we parse the rest of the document. 

Other things like @import or @layer statements aren't similar; they're just normal at-rules that happen to not need a block. The parser doesn't need to know a thing about them.

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


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

Received on Thursday, 1 September 2022 17:12:17 UTC