Re: [csswg-drafts] [css-conditional-4] Feature detection for descriptors (#2463)

> We can't test CSS properties without a value. So allowing to check descriptors without a value seems inconsistent.

`CSSRule.supports(descriptorOrProperty)` may be usefull to implementers/authors. 

Authors can evaluate `CSSKeyframeRule.supports('display')` to check if `display` is animatable. For implementers, this might make it easier to validate a declaration name against the context.

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


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

Received on Tuesday, 7 February 2023 15:30:55 UTC