Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
view-transitions: Ensure root element generates group animations.
This change aligns the implementation for tracking state and generating styles for the root element with sub-elements. This aligns well with the spec and ensures the behaviour for root transitions stays consistent with element transitions. Specifically, we now generate animations for the group pseudo corresponding to the root. This means we now have a no-op animation for the root. While this aligns with the spec, it should be optimized going forward. [email protected] Bug: 1454863, 1457298 Change-Id: I3ea09dd0f021675875f2aabf911421e8810f8465 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4668328 Reviewed-by: Dave Tapuska <[email protected]> Auto-Submit: Khushal Sagar <[email protected]> Reviewed-by: Vladimir Levin <[email protected]> Commit-Queue: Khushal Sagar <[email protected]> Cr-Commit-Position: refs/heads/main@{#1168240}
- Loading branch information