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

Could you clarify, in the summary you state that only completely "replaced" animations are canceled, but in step 3 of the proposal you state that an animation is replaced if all of its properties are specified by any subsequent fill: forwards animation, without mention that they need to be composite: replace. Was this intentional or did you mean to require composite replace?

It seems like if we limit this to `composite: replace` we don't need to compute the style and pass it with the event as a later animation has replaced it. I suspect this will greatly simplify the implementation. The developer can save a list of the replaced animations. Perhaps the replaced animations could even maintain their start time such that if you reattach them in the future they start in the finished fill: forwards state?

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

Received on Tuesday, 5 March 2019 02:49:29 UTC