Re: [csswg-drafts] [css-values-5] What is the purpose of `<ident> : <declaration-value>` in `supports()`? (#11155)

Note that `<supports-condition>` is wrapped in parens (or is a boolean expression of paren-wrapped things). We didn't want to force you to include parens for the simplest case in `supports()`, where you're just testing one property. That is, we wanted to allow `supports("foo: bar")`, rather than requiring it to be spelled `supports("(foo: bar)")`.

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


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

Received on Friday, 8 November 2024 20:21:09 UTC