Sort getAnimation result based on the animation classes
Currently, we are sorting animations by creation order. This update the animation compositing order to first sort by animation class priority, as per spec (https://drafts.csswg.org/web-animations/#dom-document-getanimations). This inter-element composition order is used and tested by getAnimations. Bug: 993365 Change-Id: I30dd1c504165baa1120b73ab7e18f0b775df8bff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1993677 Commit-Queue: Hao Sheng <haozhes@chromium.org> Reviewed-by:Robert Flack <flackr@chromium.org> Reviewed-by:
Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#733394}
Showing
Please register or sign in to comment