Skip to content

[css-shared-element-transitions-1] Should createDocumentTransition start the transition #7828

Closed
@vmpstr

Description

@vmpstr

Currently the spec 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?

@jakearchibald @khushalsagar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions