Re: [csswg-drafts] [css-values-5] Invalidation of `ident()` (#11424)

Yup, a fallback would be great, and the declaration is just invalid if no fallback is provided. I don't think IACVT needs to be explicitly mentioned here: just like any other function, it can be invalid at parse time if the arguments are known at parse time (e.g. `ident(foo 12px)`.

Just let's make sure that we don't accidentally make things invalid that don't need to be. E.g. people should be able to use an integer `<number>` in there without having to explicitly get it through `round()`.

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


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

Received on Wednesday, 22 January 2025 19:14:12 UTC