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

So some examples:

* `--foo:bar ...` is a property.
* `foo:bar` and `foo :bar` are ambiguous; we look for a `;` or `{` to decide.
* `foo: bar` is a property.
* `foo: {...}` is a property.
* `foo:bar {...}` is a rule.
* `+ foo:bar` is a rule.

Oh, hm, that last one is still a design restriction - we can't ever start a property with a non-ident. I think that's fixable, I'll give it some thought in a sec.

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


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

Received on Wednesday, 18 January 2023 22:04:35 UTC