-
Notifications
You must be signed in to change notification settings - Fork 57
Description
The docs state, on ::view-transition-group(*)
Also the element’s transform is animated from the old element’s screen space transform to the new element’s screen space transform.
When inspecting the generated element's CSSAnimation, these keyframes return as matrix(...identity, oldScreenX, oldScreenY) and none. Replacing this animation with a WAAPI animation with the same keyframes produces the expected animation of the layer animating from oldScreenX/Y to 0,0, the top left of the screen (none).
Is there then something additional at play that isn't mentioned in the spec? I would expect none to be an explicit value like the first keyframe, or for it to behave correctly when replacing the animation with the equivalent WAAPI animation.
Edit:
This code is enough to break the animation
effect.setKeyframes(effect.getKeyframes())