Re: [csswg-drafts] [css-values-5] Using `first-valid()` and `mix()` in shorthands (#11136)

> But I think first-valid() is resolved at parse time?

No, it's not. If you're solely providing literal arguments, then yes, it *could* be, but then you could just write them as separate declarations for the same effect.  The point of first-valid() is to take var()s in their arguments, so in practice it's always resolved at computed value time, during substitution. For consistency, we just make it *always* resolve then, like the other arbitrary-substitution functions.

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


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

Received on Friday, 1 November 2024 22:41:28 UTC