Animation: 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 Review URL: https://codereview.chromium.org/565353003 Cr-Commit-Position: refs/heads/master@{#294708}
Showing
Please register or sign in to comment