- From: Claudia Meadows via GitHub <sysbot+gh@w3.org>
- Date: Wed, 30 Apr 2025 19:17:14 +0000
- To: public-css-archive@w3.org
I'm thinking of an API like this: ```webidl partial interface Document { ViewTransition startViewTransition(); }; interface ViewTransition { Promise<undefined> commit(); }; ``` View transitions would be tracked with a counter, incremented on begin and decremented on both commit and view transition object GC. On first start, state would be created, and on last commit, the view transition would occur. An error would occur if commit is attempted with a counter of zero. And the promise returned from `commit` would be like the one returned from `startViewTransition` today. The transition status also just generally more useful for the next page to know than the previous page. -- GitHub Notification of comment by dead-claudia Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12125#issuecomment-2843036258 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 30 April 2025 19:17:15 UTC