Skip to content

Commit 0221693

Browse files
committed
Conditionally reject ready promise
1 parent 3a498c9 commit 0221693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ The {{ViewTransition/domUpdated}} [=getter steps=] are to return [=this's=] [=Vi
850850

851851
1. Set |document|'s [=document/active DOM transition=] to null.
852852

853-
1. [=Reject=] |transition|'s [=ViewTransition/ready promise=] with |reason|.
853+
1. If |transition|'s [=ViewTransition/ready promise=] has not yet been resolved, [=reject=] it with |reason|.
854854

855855
1. [=Reject=] |transition|'s [=ViewTransition/finished promise=] with |reason|.
856856
</div>

0 commit comments

Comments
 (0)