-
Notifications
You must be signed in to change notification settings - Fork 759
Description
It's unclear what should be done when an iframe is offscreen and rendering opportunities for it are throttled, see spec for that state here : "Remove from docs all Document objects for which the user agent believes that it's preferable to skip updating the rendering for other reasons".
It's unclear how ViewTransitions should be handled in this state. Suppressing rendering opportunities implies that the behaviour differs based on when that happens. If its before the old state was snapshotted, we'd hit a timeout and abort the transition. If its after the pseudo-DOM was setup, then its similar to the author starting CSS animations on an offscreen Document. It's probably better to have consistent behaviour here.
The decision for this should likely also influence scoped transitions? If the root element of that transition is offscreen for example.