What should the behavior (both rendered result and computed value) be for the CSS Color 5 color functions (e.g. color-mix(), color-contrast(), color-adjust() and the relative color syntax forms) when one of the passed in values is currentcolor (https://drafts.csswg.org/css-color-4/#currentcolor-color)?
For rendering, I assume we just need to delay computation of the color functions until use time when currentcolor is used and use the resolved value, but it would be good to clarify that in the spec if it is the case.
For computed value I am not quite sure since none of the color functions currently have anything about their computed value's specified. Should:
background-color: color-mix(in lch, currentcolor 40%, palegoldenrod)
have a computed value of color-mix(in lch, currentcolor 40%, palegoldenrod)?
In my current implementation, I am eagerly computing the color-mix(), so in all cases that don't involve currentcolor it computes to the resolved color, but this is just an arbitrary choice I made, and I do not think should motivate the direction of the spec.