Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix toggling animation-play-state on a finished animation
This patch addresses the following problems: * Previously could only toggle the play state between running and paused. Should also be able to toggle between finished and paused. * Cross-talk between tests due to not waiting for an animation frame after resetting the scroll position. * Tests did not wait for an animation after changing the scroll position and testing the expected style. * Test did not use fill-forward for an animation that was at the end- boundary. Though this should be inclusive (separate bug), it is not the theme of this test, since it has no bearing on whether the pause took effect. Bug: 1335132 Change-Id: I9b7be64f08e2af5340447aec99053978e73d27ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3696791 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/main@{#1013169}
- Loading branch information