Re: [csswg-drafts] [css-view-transitions] Skip on activation doesn't provide a reason (#11059)

I used `InvalidStateError` like the rest of the algorithm:

> [Capture the new state](https://drafts.csswg.org/css-view-transitions-1/#capture-the-new-state) for transition.
> If failure is returned, then [skip the view transition](https://drafts.csswg.org/css-view-transitions-1/#skip-the-view-transition) for transition with an "[InvalidStateError](https://webidl.spec.whatwg.org/#invalidstateerror)" [DOMException](https://webidl.spec.whatwg.org/#idl-DOMException) in transition’s [relevant Realm](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-realm), and return.


But yeah we should definitely fix that being unspecified.



-- 
GitHub Notification of comment by nt1m
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11059#issuecomment-2427299289 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 21 October 2024 17:19:04 UTC