Re: [csswg-drafts] [css-values-5] Resolve `first-valid()` at parse time (#10989)

Comments in #11136 clarified that `first-valid()` is validated at parse-time when it is not provided substitution functions that resolve at after parsing.

I leave this issue open, assuming the spec needs to clarified a bit. 

Meanwhile, should `first-valid()` be resolved before parsing the property value range? For example, should `--custom: first-valid(url(bad .url))` be valid? If so, what should be its specified value when serialized? That is, when it is not provided a substitution function resolved after parsing, should `first-valid()` be substituted with its first valid argument?

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


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

Received on Saturday, 1 February 2025 05:25:31 UTC