Order animations of same class by tree-order of their owning elements
Currently, getAnimation sort the result by animation class and creation time. Sort composite order for animations of the same animation class by tree order of their owning element according to spec. (https://drafts.csswg.org/web-animations/#dom-document-getanimations). This patch align the implementation with the spec. Bug: 993365 Change-Id: I8478b2985c0ab473db33c176fc69516ea0222ee1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2008325 Commit-Queue: Hao Sheng <haozhes@chromium.org> Reviewed-by:Kevin Ellis <kevers@chromium.org> Reviewed-by:
Robert Flack <flackr@chromium.org> Cr-Commit-Position: refs/heads/master@{#735966}
Showing
Please register or sign in to comment