SDA: Fix start time calculation when changing timelines. We don't necessarily know the correct start time when changing timelines. Thus, if the animation is already running, we should fall back to using a deferred start time similar to when playing an animation attached to a scroll timeline. While fixing this issue, it became apparent that there was an error in how we normalized time based animations. The full timeline duration is used even if the animation range aligns with only a portion of the timeline. This bug does not manifest if using duration auto, but does appear if using an explicit duration. Bug: 1450710 Change-Id: I82ea3279af1ecaaa914614d6f07460511634d8a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4582749 Commit-Queue: Kevin Ellis <kevers@chromium.org> Reviewed-by: Robert Flack <flackr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1152602}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.