diff --git a/web-animations-1/Overview.bs b/web-animations-1/Overview.bs index 3a62dbb6615..642d0cde82a 100644 --- a/web-animations-1/Overview.bs +++ b/web-animations-1/Overview.bs @@ -3902,9 +3902,9 @@ dictionary DocumentTimelineOptions { DOMHighResTimeStamp originTime = 0; }; -[Exposed=Window, - Constructor(optional DocumentTimelineOptions options = {})] +[Exposed=Window] interface DocumentTimeline : AnimationTimeline { + constructor(optional DocumentTimelineOptions options = {}); }; @@ -3945,10 +3945,10 @@ interface DocumentTimeline : AnimationTimeline { API by the {{Animation}} interface.
-[Exposed=Window,
- Constructor(optional AnimationEffect? effect = null,
- optional AnimationTimeline? timeline)]
+[Exposed=Window]
interface Animation : EventTarget {
+ constructor(optional AnimationEffect? effect = null,
+ optional AnimationTimeline? timeline);
attribute DOMString id;
attribute AnimationEffect? effect;
readonly attribute AnimationTimeline? timeline;
@@ -4635,12 +4635,12 @@ dictionary ComputedEffectTiming : EffectTiming {
Keyframe effects are represented by the {{KeyframeEffect}} interface.
-[Exposed=Window,
- Constructor((Element or CSSPseudoElement)? target,
- object? keyframes,
- optional (unrestricted double or KeyframeEffectOptions) options = {}),
- Constructor(KeyframeEffect source)]
+[Exposed=Window]
interface KeyframeEffect : AnimationEffect {
+ constructor((Element or CSSPseudoElement)? target,
+ object? keyframes,
+ optional (unrestricted double or KeyframeEffectOptions) options = {});
+ constructor(KeyframeEffect source);
attribute (Element or CSSPseudoElement)? target;
attribute CompositeOperation composite;
sequence<object> getKeyframes();
@@ -5829,9 +5829,9 @@ CSSPseudoElement includes Animatable;
{{AnimationPlaybackEvent}} interface.
-[Exposed=Window,
- Constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {})]
+[Exposed=Window]
interface AnimationPlaybackEvent : Event {
+ constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {});
readonly attribute double? currentTime;
readonly attribute double? timelineTime;
};