Hello,
This CL is an initial implementation of the iterationComposite property from Web Animations Level 2, which controls how animation values accumulate across multiple iterations.
https://drafts.csswg.org/web-animations-2/#iteration-composite-operation
I hope that the CL description provides a good starting point, but please don't hesitate to ask me to clarify any point. I have already updated the existing WPT and unit tests, and I am currently working to add additional unit tests for this feature.
Thank you for your review.
Best regards,
Felipe
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
bool InvalidatableInterpolation::ApplyIterationAccumulation() const {Should we be using this return value?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I don't count myself as an owner of this code anymore but this looks pretty good to me!
assert_equals: Animated filter list at 50s of the third iteration expected "contrast(4) brightness(4)" but got "contrast(2) brightness(2)"What's going wrong for this test?
bool InvalidatableInterpolation::ApplyIterationAccumulation() const {Should we be using this return value?
Thank you for your review.
Good point. That return value is unused and not particularly informative (it would be false in most cases, for different reasons) so I have removed it:
`void InvalidatableInterpolation::ApplyIterationAccumulation() const`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |