-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify nature of transform
in -group
pseudo elements
#235
Comments
I believe there are bugs in both Chrome and Safari related to this:
Personally, I would love to see if the keyframes included both the to and from |
Checking the relevant section of the spec I see the created keyframes are spec-compliant: only generate the Digging deeper into This makes me believe that there are issues in both Chrome and Safari related to this last part:
See https://codepen.io/bramus/pen/ogvobYQ?editors=0010 for a demo.
|
I dug deeper into this and boiled it down to purely bugs in Blink and WebKit related to calling I believe this issue may be closed. |
I gave this some more thought and think I would want the exposed coordinates to be viewport-relative so that things like I have filed w3c/csswg-drafts#11456 with the CSS Working Group for this. |
The docs state, on
::view-transition-group(*)
When inspecting the generated element's
CSSAnimation
, these keyframes return asmatrix(...identity, oldScreenX, oldScreenY)
andnone
. Replacing this animation with a WAAPI animation with the same keyframes produces the expected animation of the layer animating fromoldScreenX/Y
to0,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
The text was updated successfully, but these errors were encountered: