DescriptionAnimation: Fix bug in timing in compositor
An edge case around direction and playback rate is calculating the time
incorrectly. In particular, when the playback rate is negative and the
direction is set to AlternateReverse, the resulting iteration times
calculated are incorrect. This change brings the compositor in line
with the Web Animation Spec to calculate the iteration time.
Reference for calculations:
http://dev.w3.org/fxtf/web-animations/#core-animation-node-calculations
BUG=398330
Committed: https://crrev.com/35099b0441b16ba4ed5f3a331f77bd59f6610926
Cr-Commit-Position: refs/heads/master@{#294708}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|