Skip to content

[css-view-transitions-2] Data type for types in script APIs #10114

@khushalsagar

Description

@khushalsagar

@emilio brought up that because we want types to be readonly on the CSSViewTransitionRule, it shouldn't be a DOMTokenList. Filing this issue to clarify the data type across all script APIs.

  • startViewTransition has a types param which is currently sequence.
  • CSSViewTransitionRule has a types param which is currently DOMTokenList.
  • ViewTransition has a types param which is DOMTokenList.

The ViewTransition is the only one that needs to me mutable. @noamr

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