Re: [csswg-drafts] [css-animations] Add control of colorspace used for animating colors (#7062)

Is there a need to interpolate in a different colorspace per transition/animation? Or would it be acceptable to say that all animations/transitions on an element always use the same colorspace?

If it's the former, then this will need to be defined at the Web Animations level and mapped to corresponding properties in CSS animations/transitions.

If it's the latter, then perhaps we could use a generic property similar to SVG's `color-interpolation-filters` and apply the computed value of that property to any animations/transitions of color values on that element.

> There is no ambiguity (unlike time) so it can go in any order in the shorthand.

I'm afraid this still hits the issue where we can't easily add new keywords to the `animation` shorthand as discussed in #6946. For what it's worth, the latter approach of using a generic property covering all animations would avoid this.

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


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

Received on Wednesday, 16 February 2022 23:49:45 UTC