@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
@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.
startViewTransitionhas atypesparam which is currently sequence.CSSViewTransitionRulehas atypesparam which is currently DOMTokenList.ViewTransitionhas atypesparam which is DOMTokenList.The
ViewTransitionis the only one that needs to me mutable. @noamr