Re: [csswg-drafts] [css-conditional-3] `CSS.supports(--custom, value)` should not accept any value (#8823)

  > Variables defines that `var()` is valid in any property, and its presence changes the grammar of the property to be valid. So it's fine to match against the property grammar still.

Can you please help me clarify how is *parse a CSS grammar* supposed to know that the *CSS `grammar` production* it received is for a property rather than, say, for an HTML attribute or a `CSSRule` attribute? 

I guess that the *CSS `grammar` production* should be an object embedding this information but in other contexts I would say that a *CSS `grammar` production* is a value definition (string).

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


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

Received on Friday, 16 June 2023 12:26:30 UTC