Re: [csswg-drafts] [css-values][css-variables][css-mixins] Generic fallback syntax for IACVT values (#9990)

> I assume `fallback()` would need to be a [`<whole-value>`](https://drafts.csswg.org/css-values-5/#whole-value)?

No, for this to work reasonably well, it would need to be allowed anywhere `var()` is. Otherwise the DX is very similar to assigning the value to a custom property and using a `var()` fallback for that.

> Or would you initially treat all `fallback()` in the declaration as their 1st `<declaration-value>`, and if the property would be IACVT, treat all of them as their 2nd `<declaration-value>`?

Yup, by definition.

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


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

Received on Friday, 23 February 2024 23:21:12 UTC