Re: [csswg-drafts] [css-transitions] Define interpolation of the currentcolor keyword (#445)

The [Interpolation](https://drafts.csswg.org/css-color-5/#interpolation) section in CSS Color 5 now also includes [interpolation with alpha](https://drafts.csswg.org/css-color-5/#interpolation-alpha); but still assumes that `currentColor` resolves to a used value rather than a `percentage of real color and percentage of currentColor`.

Unlike [what is in V&U](https://drafts.csswg.org/css-values-4/#combine-colors), there is no assumption of sRGB. `display-p3`, `lab`, `lch` are all handled.

If there is only one special keyword, handling it isn't too bad. If we also need to consider the percentage of system colors, or add new functionality like `currentBackground` then this becomes rather more complex.

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


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

Received on Friday, 13 November 2020 16:34:40 UTC