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
[css-view-transitions-1] Skip ViewTransitions in detached iframes #10264
Comments
Is there a tangible benefit into doing so? |
If the iframe is detached we'll never render any frames for it and will be stuck at the step here, waiting for the next frame to capture the old state. Seems better to skip and invoke the update callback to show the new DOM directly. Same reasoning as the visibility case IMO. |
Ah right, I don't see a reason not to then. |
A detached iframe is always |
^ cool. Leaving this open to drop a note in the spec. |
If
startViewTransition
is called on an iframe which is detached from the tree, or the iframe becomes detached during the transition, should we skip the transition? It seems similar to how we handle document visibility here.@nt1m @noamr
The text was updated successfully, but these errors were encountered: