Support geometry and coord boxes in shape interpolation Animations for `clip-path` and `offset-path` did not previously account for their respective `geometry-box` and `coord-box` values. This resulted in incorrect interpolation when these boxes differed between keyframes. The CSS specification requires a discrete animation in such cases. This change updates the shape interpolation logic to treat the reference box as a non-interpolable component. The box is now parsed and stored with the shape data. If the boxes differ between the start and end values of an animation, the animation will correctly fall back to discrete interpolation. Bug: 450326418 Change-Id: I1b6f113b1257f94dcceac6f8b7e716015e39f165 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7032120 Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org> Reviewed-by: Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/main@{#1529973}
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.