diff --git a/source b/source index fc77a13f120..843f618854d 100644 --- a/source +++ b/source @@ -103105,8 +103105,21 @@ location.href = '#foo'; data-x="dom-PageRevealEvent-viewTransition">viewTransition set to transition.

-
  • If transition is not null, then activate transition.

  • +
  • +

    If transition is not null, then:

    + +
      +
    1. Prepare to run script given document.

    2. + +
    3. Activate transition.

    4. + +
    5. Clean up after running script given document.

    6. +
    + +

    Activating a view transition might resolve/reject promises, so by wrapping the + activation with prepare/cleanup we ensure those promises are handled before the next rendering + step.

    +
  • Though pagereveal is guaranteed to be fired