Re: [csswg-drafts] [css-color-5] Wide review (#7297)

> I don't think having two functions is needed—all that is needed is that the functions are aware of what property is calling them.

I suspect having the function evaluation depend on which property it's used for would be a very unpopular proposition, even though `color-contrast()` is going to be evaluated at use time. Many reasons jump out, but to give one: using this in SVG, where ideas like foreground and background can't be derived from the property.

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


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

Received on Sunday, 5 June 2022 18:13:55 UTC