Re: [csswg-drafts] [css-values-5] Accept `<whole-value>` as argument of `first-valid()` (#9590)

Ah yes, sorry, `first-valid()` arguments should be validated at computed value time:

  > If none of the arguments represent a valid value for the property, the property is invalid at computed-value time.

I am still not sure if `toggle()` nested in `first-valid()` is valid at computed value time (*it is not allowed to be nested*), or at parse time in other cases (eg. `toggle(toggle(red); green)` or `mix(50%; toggle(red); green)`), but this is a different [issue](https://github.com/w3c/csswg-drafts/issues/8731#issuecomment-1730821415).

Thanks for the clarification!

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


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

Received on Friday, 10 November 2023 12:57:13 UTC