Re: [csswg-drafts] [css-animations] Detail how/when keyframe values are computed (#7335)

As [my comment](https://github.com/w3c/csswg-drafts/issues/411#issuecomment-890081098=) details, an important bit of this is defining precisely how custom property values are propagated between cascade contexts; is an animated custom property visible in var() usages applied directly to the element, for example?

That's what Lea's codepens are showing, fwiw - she's animating a hue angle variable from 0 to 360, and the animated value is seen by the 'color' and 'border' properties to produce a rainbow color animation, but it's *not* seen (early enough) in background when detecting a transition, so the transition instead animates with the initial value of the property, always fading to red, until the transition ends and the normal styles take back over, at which point it joins up with the others and becomes rainbow.

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


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

Received on Thursday, 2 June 2022 21:37:04 UTC