File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ spec:html
49
49
text: run the animation frame callbacks; type: dfn;
50
50
text: unload; type: dfn;
51
51
text: pagereveal; type: dfn; for: Window;
52
+ text: has been revealed; type: dfn;
52
53
spec:infra; type:dfn; text:list
53
54
</pre>
54
55
@@ -613,6 +614,9 @@ Prepend this to the [=Perform pending transition operations=] algorithm given a
613
614
<div algorithm>
614
615
To get the <dfn>resolve @view-transition rule</dfn> for a {{Document}} |document|:
615
616
617
+ 1. If |document|'s [=Document/visibility state=] is "<code> hidden</code> ",
618
+ then return "<code> skip transition</code> ".
619
+
616
620
1. Let |matchingRule| be the last ''@view-transition'' rule in |document|.
617
621
618
622
1. If |matchingRule| is not found, then return "<code> skip transition</code> ".
@@ -655,6 +659,8 @@ Prepend this to the [=Perform pending transition operations=] algorithm given a
655
659
656
660
1. [=Assert=] : These steps are running as part of a [=task=] queued on |oldDocument|.
657
661
662
+ 1. If |oldDocument|'s [=has been revealed=] is false, then return null.
663
+
658
664
1. Let |resolvedRule| be the result of [=Resolve @view-transition rule|resolving the @view-transition rule=] for |oldDocument|.
659
665
660
666
1. If |resolvedRule| is "<code> skip transition</code> ", then return null.
You can’t perform that action at this time.
0 commit comments