[csswg-drafts] [css-shared-element-transitions-1] Should createDocumentTransition start the transition (#7828)

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

== [css-shared-element-transitions-1] Should createDocumentTransition start the transition ==
Currently [the spec](https://drafts.csswg.org/css-shared-element-transitions-1/#DOMTransition-prepare) says that createDocumentTransition also start the transition, with no other way to start a transition.

I'm opening an issue here to decide, since we oscillated a little bit on this. The other alternative is createDocumentTransition just creates a transition object which can then be started at a later time via something like `transition.start` or `transition.prepare`.

To draw a parallel with web animations, I think it supports both `Element.animate()`, and `animation = new Animation(...); animation.play()`. Should this API also support both?

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


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

Received on Tuesday, 4 October 2022 20:56:21 UTC