[csswg-drafts] [css-shared-element-transitions-1] Timeout for transition preparation (#7554)

FremyCompany has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-shared-element-transitions-1] Timeout for transition preparation ==
What happens if, through some error in programming, the `prepare()` promises never resolves?

The spec says that the page never re-renders anything on the screen, but I would assume this is a drastic error case for a transition effect (which is usually just a nice-to-have).

It would probably make sense to automatically abandon the transition if it takes too long to prepare. There could be a default timeout, and maybe a parameter to supply a custom timeout in case authors expect the transition to take a long time (but this seems counter-productive).

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7554 using your GitHub account


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

Received on Tuesday, 2 August 2022 14:13:37 UTC