You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Set |document|'s [=active DOM transition=] to |transition|.
486
488
487
-
Note: The process continues in [=perform an outgoing capture=] which is executed at the next [=rendering-opportunity=].
489
+
Note: The process continues in [=perform an outgoing capture=] which is executed at the next [=rendering opportunity=].
490
+
491
+
Issue: Waiting on [html/8469](https://github.com/whatwg/html/pull/8468) to reference "rendering opportunity".
488
492
489
493
1. Return |transition|.
490
494
</div>
@@ -639,10 +643,12 @@ The {{ViewTransition/domUpdated}} [=getter steps=] are to return [=this's=] [=Vi
639
643
640
644
Note: The aim is to prevent unintended DOM updates from being presented to the
641
645
user after a cached snapshot for the elements has been captured. We wait for
642
-
one rendering opportunity after prepare to present DOM mutations made by the
646
+
one [=rendering opportunity=] after prepare to present DOM mutations made by the
643
647
author before prepare to be presented to the user. This is also the content
644
648
captured in snapshots.
645
649
650
+
Issue: Waiting on [html/8469](https://github.com/whatwg/html/pull/8468) to reference "rendering opportunity".
651
+
646
652
Note: These steps will be added to the [=update the rendering=] in the HTML spec.
647
653
As such, the prose style is written to match other steps in that algorithm.
648
654
</div>
@@ -739,6 +745,8 @@ The {{ViewTransition/domUpdated}} [=getter steps=] are to return [=this's=] [=Vi
739
745
Note: A task is queued here because the texture read back in [=capturing the image=] may be async,
740
746
although the render steps in the HTML spec act as if it's synchronous.
741
747
748
+
Issue: "DOM manipulation task source" doesn't link due to a [bikeshed bug](https://github.com/tabatkins/bikeshed/issues/2382).
749
+
742
750
1. If |transition|'s [=ViewTransition/phase=] is "`done`", then abort these steps.
743
751
744
752
Note: This happens if |transition| was [=skip the page transition|skipped=] before this point.
@@ -893,20 +901,26 @@ The {{ViewTransition/domUpdated}} [=getter steps=] are to return [=this's=] [=Vi
893
901
To <dfn>update transition DOM</dfn> given a {{ViewTransition}} |transition|:
894
902
895
903
1. Let |document| be |transition|'s [=relevant global object's=] [=associated document=].
896
-
897
-
1. Let |hasActiveAnimations| be a boolean, initially false. For each [=page-transition pseudo-elements=]
898
-
associated with |transition|:
899
-
904
+
905
+
1. Let |hasActiveAnimations| be a boolean, initially false.
906
+
907
+
1. For each [=page-transition pseudo-elements=] associated with |transition|:
908
+
900
909
1. Let |element| be the [=page-transition pseudo-element=].
901
-
902
-
1. For each |animation| that contains at least one [=animation effect=]
903
-
whose [=effect target=] is |element| and whose associated [=animation timeline=]
904
-
is of type [=document timeline=], set |hasActiveAnimations| to true if any of the
905
-
following conditions is true:
906
-
907
-
1. |animation| is in <a lt="paused play state">paused</a> or <a lt="running play state">running</a> state.
908
-
909
-
1. [=pending-animation-event-queue=] has any events associated with |animation|.
910
+
911
+
1. For each |animation| whose [=timeline=] is a [=document timeline=] associated with |document|,
912
+
and contains at least one [=animation/associated effect=] whose [=effect target=] is |element|,
913
+
set |hasActiveAnimations| to true if any of the following conditions is true:
914
+
915
+
Issue: The prose around "effect target" is incorrect, but [#8001](https://github.com/w3c/csswg-drafts/issues/8001) needs to land before it can be fixed.
916
+
917
+
- |animation|'s [=animation/play state=] is [=idle play state=] or [=running play state=].
918
+
919
+
Issue: These terms aren't linking due to [#8003](https://github.com/w3c/csswg-drafts/issues/8003).
920
+
921
+
- |document|'s [=pending animation event queue=] has any events associated with |animation|.
922
+
923
+
Issue: This prose isn't quite right, but it's blocked on [#8004](https://github.com/w3c/csswg-drafts/issues/8004).
0 commit comments