Re: [csswg-drafts] [css-nesting-1] Can we relax the syntax further? (#7961)

Oh wait, actually I already *do* handle properties correctly in that final case, with the "parse as a rule, but stop if you see a `;` and call it an invalid property" bit. If/when we add a property syntax that falls into that clause, we'll modify the parsing rules so that some of that guaranteed-invalid stuff becomes valid. Until we do so there's no way to know what the right rules will be, and in any case they'll all be invalid *anyway* so it doesn't really matter.

So yeah, as far as I can tell the above rules are indeed what I would modify Syntax to use, and the restrictions I noted should be correct.

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


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

Received on Friday, 20 January 2023 21:41:42 UTC