diff --git a/css-view-transitions-2/Overview.bs b/css-view-transitions-2/Overview.bs index d90d0814e66a..2cfa37341fc0 100644 --- a/css-view-transitions-2/Overview.bs +++ b/css-view-transitions-2/Overview.bs @@ -49,6 +49,7 @@ spec:html text: run the animation frame callbacks; type: dfn; text: unload; type: dfn; text: pagereveal; type: dfn; for: Window; + text: has been revealed; type: dfn; spec:infra; type:dfn; text:list @@ -613,6 +614,9 @@ Prepend this to the [=Perform pending transition operations=] algorithm given a
To get the resolve @view-transition rule for a {{Document}} |document|: + 1. If |document|'s [=Document/visibility state=] is "hidden", + then return "skip transition". + 1. Let |matchingRule| be the last ''@view-transition'' rule in |document|. 1. If |matchingRule| is not found, then return "skip transition". @@ -655,6 +659,8 @@ Prepend this to the [=Perform pending transition operations=] algorithm given a 1. [=Assert=]: These steps are running as part of a [=task=] queued on |oldDocument|. + 1. If |oldDocument|'s [=has been revealed=] is false, then return null. + 1. Let |resolvedRule| be the result of [=Resolve @view-transition rule|resolving the @view-transition rule=] for |oldDocument|. 1. If |resolvedRule| is "skip transition", then return null.