@@ -413,15 +413,10 @@ The {{CSSViewTransitionRule}} represents a ''@view-transition'' rule.
413
413
<xmp class=idl>
414
414
enum ViewTransitionNavigation { "auto", "none" };
415
415
416
- [Exposed=Window]
417
- interface CSSViewTransitionTypeSet {
418
- readonly setlike<CSSOMString>;
419
- };
420
-
421
416
[Exposed=Window]
422
417
interface CSSViewTransitionRule : CSSRule {
423
418
readonly attribute ViewTransitionNavigation navigation;
424
- readonly attribute CSSViewTransitionTypeSet types;
419
+ readonly attribute FrozenArray<CSSOMString> types;
425
420
};
426
421
</xmp>
427
422
@@ -521,6 +516,11 @@ partial interface ViewTransition {
521
516
};
522
517
</xmp>
523
518
519
+ The {{ViewTransitionTypeSet}} object represents a [=/set=] of strings, without special semantics.
520
+
521
+ Note: a {{ViewTransitionTypeSet}} can contain strings that are invalid for '':active-view-transition-type'' , e.g.
522
+ strings that are not a <<custom-ident>> .
523
+
524
524
The {{ViewTransition/types}} [=getter steps=] are to return [=this=] 's [=ViewTransition/active types=] .
525
525
526
526
## Activating the transition type for cross-document view transitions ## {#types-cross-doc}
@@ -724,7 +724,7 @@ A {{Document}} additionaly has:
724
724
A {{ViewTransition}} additionally has:
725
725
<dl dfn-for=ViewTransition>
726
726
: <dfn>active types</dfn>
727
- :: A [=/set=] of strings , initially empty.
727
+ :: A {{ViewTransitionTypeSet}} , initially empty.
728
728
729
729
: <dfn>outbound post-capture steps</dfn>
730
730
:: Null or a set of steps, initially null.
0 commit comments