Re: [csswg-drafts] [css-conditional-3] Define `<declaration>` (#8795)

I think I didn't understand the following [sentence](https://drafts.csswg.org/css-conditional-3/#dfn-support) correctly:

  > If a processor does not implement, with a usable level of support, the value given, then it must not accept the declaration

So `color: invalid-value` does not match `<declaration>`. I guess `unknown-property: var(--custom)` is also invalid. It is a bit unfortunate that:

 - the above sentence does not say explicitly *"if a processor does not implement the **property** and the value given, with a usable level of support"**
 - `<declaration>` is inconsistent with `<declaration-value>` and `<any-value>`, which accept arbitrary values

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


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

Received on Tuesday, 2 April 2024 19:23:09 UTC