Skip to content

[css-view-transitions-2][scoped] Allow starting a scoped view transition on a shadow root #12953

@noamr

Description

@noamr

Currently transitions can only be started on an element/document.
Starting a transition on the element as the scope, would only include same-tree descendants of that element when finding participants.
Considering adding shadowRoot.startViewTransition, which would pick elements and create pseudo elements inside the shadow scope.

How does this work with Shadow DOM? If I'm manipulating multiple elements that are directly the children of a shadow root, what do I call startViewTransition() on?

Originally posted by @EisenbergEffect in #9890

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions