-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1775327 - Part 2: Fix playing finished scroll animation on revers…
…ing scrolling. r=firefox-animation-reviewers,birtles We have to make sure the scroll animations is still responsive at boundaries even if it's playstate is finished. This patch includes the update of UpdateFinishedState() to match the spec, and make sure we still tick scroll animations at finished play state. Getting a finished state might be strange for scroll animations, and this might be a spec issue. However, for consistency with JS-generated animations, we'd like to align the behaviors with other browsers, and make sure we are still match the definition of finished state in the spec. Besides, we have to use EndTime() on the compositor so animation-iteration-count works properly. Tests are in the last patch. Differential Revision: https://phabricator.services.mozilla.com/D149940
- Loading branch information
1 parent
ee025d7
commit db1b58d
Showing
4 changed files
with
25 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters