Re: [csswg-drafts] [web-animations-1] Alternative to FillAnimation: replace events (#3689)

Thanks, this makes sense now.

I worry about requiring developer cooperation with the animation system when the animation's effects are replaced. It sounds like forgetting to do this could go unnoticed and result in occasional unpredictable behavior. If the developer does know to handle this, they feasibly could also handle applying their animation's final output to the inline style on animationend and canceling the animations. The missing piece (I think) would be how to compute the result of adding the final keyframes' styles, which may not be trivial.

It would be nice to have more predictable behavior that "just works", whether that's replacing completed `fill: forwards` additive animation with a single generated fill: forwards animation having the same effect or something more noticeable like modifying the topmost animation or automatically applying the final value to the inline style.

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

Received on Tuesday, 5 March 2019 04:39:57 UTC