@@ -611,6 +611,8 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
611
611
612
612
Issue: The link for "paint order" doesn't seem right.
613
613
Is there a more canonical definition?
614
+
615
+ 1. If the |element|'s ancestor [=skips its contents=] , then [=continue=] .
614
616
615
617
1. Let |transitionName| be the [=computed value=] of 'view-transition-name' for |element|.
616
618
@@ -706,6 +708,8 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
706
708
707
709
Issue: The link for "paint order" doesn't seem right.
708
710
Is there a more canonical definition?
711
+
712
+ 1. If the |element|'s ancestor [=skips its contents=] , then [=continue=] .
709
713
710
714
1. Let |transitionName| be the [=computed value=] of 'view-transition-name' for |element|.
711
715
@@ -786,7 +790,13 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
786
790
787
791
Note: The ready promise would've been resolved if {{ViewTransition/skipTransition()}} is called after we start animating.
788
792
789
- 1. [=Reject=] |transition|'s [=ViewTransition/finished promise=] with |reason|.
793
+ 1. [=promise/React=] to [=ViewTransition/DOM updated promise=] :
794
+
795
+ * If [=ViewTransition/DOM updated promise=] was resolved,
796
+ then [=resolve=] |transition|'s [=ViewTransition/finished promise=] .
797
+
798
+ * If [=ViewTransition/DOM updated promise=] was rejected with reason |r|,
799
+ then [=reject=] |transition|'s [=ViewTransition/finished promise=] with |r|.
790
800
</div>
791
801
792
802
## [=Capture the image=] ## {#capture-the-image-algorithm}
@@ -1070,6 +1080,10 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
1070
1080
1. At the [=user-agent origin=] ,
1071
1081
set |new|'s ' object-view-box' property to a value that when applied to |new|,
1072
1082
will cause the view box to coincide with [=new element=] 's [=border box=] in the image.
1083
+
1084
+ This algorithm must be executed to update styles in [=user-agent origin=] if its effects can be observed by a web API.
1085
+
1086
+ Note: An example of such a web API is `window.getComputedStyle(document.documentElement, "::view-transition")`.
1073
1087
</div>
1074
1088
1075
1089
<div algorithm>
0 commit comments