Re: [csswg-drafts] [css-color-5] What should the behavior of the CSS Color 5 color functions be when passed `currentcolor` as <color> (#6168)

@emilio so, the computed value isn't the function but is the mixed result (unless currentColor is involved)?

> I think in order to deal with nested color-mix() you need to also move color-mix() to the "resolving color values" section, or somehow hook into that.

That is where the text I added above is located: [7. Resolving [<color>](https://drafts.csswg.org/css-color-4/#typedef-color) Values](https://drafts.csswg.org/css-color-5/#resolving-color-values)

> Also, it's a bit unfortunate that the "resolving color values" section is called like that, because CSS has the concept of "resolved value", which is not necessarily what that is describing, but that's another matter :-)

I named it that because of the similar section in CSS Color 4, which has been there a while: [4.7. Resolving [<color>](https://drafts.csswg.org/css-color-4/#typedef-color) Values](https://drafts.csswg.org/css-color-4/#resolving-color-values).

What should these sections be called?

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


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

Received on Wednesday, 1 June 2022 15:01:10 UTC