- From: Bramus via GitHub <noreply@w3.org>
- Date: Thu, 22 Jan 2026 10:14:15 +0000
- To: public-css-archive@w3.org
OK, I found a _hack_ that gets me to what I want to achieve: check if the transitionRoot matches `:active-view-transition` or not.
```
t.finished
.then(() => {
const wasSkipped = document.querySelector('html:active-view-transition') != null;
})
;
```
I’d still like to see this solved at the spec level because:
- It feels like I’m abusing the order of the lifecycle here.
- There is a disconnect between CSS saying there is a View Transition (`:active-view-transition`) and JS saying there is one (`document.activeViewTransition`)
--
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13379#issuecomment-3783589859 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 22 January 2026 10:14:16 UTC