From e745918d732d41cf8fc37ac28dfd06946f8f3015 Mon Sep 17 00:00:00 2001 From: "Psychpsyo (Cameron)" <60073468+Psychpsyo@users.noreply.github.com> Date: Wed, 27 May 2026 15:00:30 +0200 Subject: [PATCH] [css-view-transitions-2] Minor spec fixes around flushing the update callback queue --- css-view-transitions-2/Overview.bs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css-view-transitions-2/Overview.bs b/css-view-transitions-2/Overview.bs index 537746c61038..13c2b3ba7f87 100644 --- a/css-view-transitions-2/Overview.bs +++ b/css-view-transitions-2/Overview.bs @@ -2437,7 +2437,7 @@ It has the following [=struct/items=]: 1. Let |document| be |transition|'s [=relevant global object's=] [=associated document=]. - 1. [=Flush the update callback queue=]. + 1. [=Flush the update callback queue=] for |document|. Note: this ensures that any changes to the DOM scheduled by other skipped transitions are done before the old state for this transition is captured. @@ -2461,7 +2461,7 @@ It has the following [=struct/items=]: 1. [=schedule the update callback=] for |transition|. - 1. [=Flush the update callback queue=]. + 1. [=Flush the update callback queue=] for |document|.
@@ -3150,9 +3150,9 @@ To adjust nested view transition group transform given a |transform|
To schedule the update callback given a {{ViewTransition}} |transition|: - 1. [=list/Append=] |transition| to |transition|'s [=relevant settings object=]'s [=update callback queue=]. + 1. [=list/Append=] |transition| to |transition|'s [=relevant global object's=] [=associated document=]'s [=update callback queue=]. 1. [=Queue a global task=] on the [=DOM manipulation task source=], - given |transition|'s [=relevant global object=], to [=flush the update callback queue=]. + given |transition|'s [=relevant global object=], to [=flush the update callback queue=] for |transition|'s [=relevant global object's=] [=associated document=].