Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code health cleanup: replacing animations.
Animation::Update performed a synchronous processing of the finish microtask to ensure that finished events where dispatched ahead of replace events. This step does not align with the spec. Instead we should be queuing the replace event. Microtasks will be processed in the correct order. Spec link: https://www.w3.org/TR/web-animations-1/#timelines Change-Id: Ibe7753e792fb6cf905bbe6815a080a8cc51c2803 (cherry picked from commit d4fb69f) Bug: 1290858 Change-Id: Ibe7753e792fb6cf905bbe6815a080a8cc51c2803 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3414765 Reviewed-by: Mustaq Ahmed <mustaq@chromium.org> Commit-Queue: Kevin Ellis <kevers@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#964223} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3453925 Reviewed-by: Adrian Taylor <adetaylor@google.com> Commit-Queue: Krishna Govind <govind@chromium.org> Cr-Commit-Position: refs/branch-heads/4758@{#1134} Cr-Branched-From: 4a2cf4b-refs/heads/main@{#950365}
- Loading branch information