Skip to content

Commit b375955

Browse files
autokagamistephenmcgruer
authored andcommitted
[css-animation-worklet-1] Align with Web IDL specification (w3c#963)
1 parent 5b3f06b commit b375955

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

css-animationworklet/Overview.bs

+4-5
Original file line numberDiff line numberDiff line change
@@ -661,15 +661,14 @@ the animation <a>play state</a>. See [[#web-animation-overrides]] for details on
661661
correspondence changes.
662662

663663
<xmp class='idl'>
664-
[Exposed=Window,
665-
Constructor (DOMString animatorName,
664+
[Exposed=Window]
665+
interface WorkletAnimation : Animation {
666+
constructor(DOMString animatorName,
666667
optional (AnimationEffect or sequence<AnimationEffect>)? effects = null,
667668
optional AnimationTimeline? timeline,
668-
optional any options)]
669-
interface WorkletAnimation : Animation {
669+
optional any options);
670670
readonly attribute DOMString animatorName;
671671
};
672-
673672
</xmp>
674673

675674

0 commit comments

Comments
 (0)