Skip to content

Commit fbee935

Browse files
committed
Move skip steps to monkey patch
1 parent 55091ad commit fbee935

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

css-view-transitions-2/Overview.bs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ spec:css-view-transitions-1;
3737
text: perform pending transition operations; type: dfn;
3838
text: setup view transition; type: dfn;
3939
text: named view transition pseudo-element; type: dfn;
40+
text: rendering suppression for view transitions; type: dfn;
4041
spec:dom; type:dfn; text:document
4142
spec:css22; type:dfn; text:element
4243
spec:selectors-4; type:dfn;
@@ -550,6 +551,14 @@ When capturing the old or new state for an element, perform the following steps
550551
Note: This is written in a monkey-patch manner, and will be merged into the algorithm once the L1 spec graduates.
551552
</div>
552553

554+
## Additions to skip steps: ## {#additional-skip-steps}
555+
<div algorithm="additional skip steps">
556+
Append the following steps to [=skip the view transition=] given a {{ViewTransition}} |transition|:
557+
1. If |transition|'s [=outbound post-capture steps=] is not null, then run |transition|'s [=outbound post-capture steps=] with null.
558+
559+
Note: This is written in a monkey-patch manner, and will be merged into the algorithm once the L1 spec graduates.
560+
</div>
561+
553562
## Addition to pending transition operations ## {#additions-to-pending-transition-operation}
554563

555564
Prepend this to the [=Perform pending transition operations=] algorithm given a {{Document}} |document|:
@@ -674,10 +683,6 @@ Prepend this to the [=Perform pending transition operations=] algorithm given a
674683

675684
Note: The process continues in [=perform pending transition operations=].
676685

677-
1. React to |outboundTransition|'s [=ViewTransition/finished promise=]:
678-
679-
1. Call |proceedWithNavigation|.
680-
681686
1. The user agent should display the currently displayed frame until either:
682687
* The {{Window/pagereveal}} event is fired.
683688
* its [=active view transition=]'s [=ViewTransition/phase=] is "`done`".

0 commit comments

Comments
 (0)