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

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

== [css-view-transitions-2] Data type for types in script APIs ==
@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<DOMString>.
- `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

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


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

Received on Thursday, 21 March 2024 18:58:06 UTC