@@ -3960,7 +3960,7 @@ dictionary DocumentTimelineOptions {
3960
3960
};
3961
3961
3962
3962
[Exposed=Window,
3963
- Constructor(optional DocumentTimelineOptions options)]
3963
+ Constructor(optional DocumentTimelineOptions options = {} )]
3964
3964
interface DocumentTimeline : AnimationTimeline {
3965
3965
};
3966
3966
@@ -4322,7 +4322,7 @@ abstract {{AnimationEffect}} interface.
4322
4322
interface AnimationEffect {
4323
4323
EffectTiming getTiming();
4324
4324
ComputedEffectTiming getComputedTiming();
4325
- void updateTiming(optional OptionalEffectTiming timing);
4325
+ void updateTiming(optional OptionalEffectTiming timing = {} );
4326
4326
};
4327
4327
4328
4328
@@ -4697,7 +4697,7 @@ dictionary ComputedEffectTiming : EffectTiming {
4697
4697
[Exposed=Window,
4698
4698
Constructor((Element or CSSPseudoElement)? target,
4699
4699
object? keyframes,
4700
- optional (unrestricted double or KeyframeEffectOptions) options),
4700
+ optional (unrestricted double or KeyframeEffectOptions) options = {} ),
4701
4701
Constructor(KeyframeEffect source)]
4702
4702
interface KeyframeEffect : AnimationEffect {
4703
4703
attribute (Element or CSSPseudoElement)? target;
@@ -5717,8 +5717,8 @@ the {{Animatable}} interface mixin.
5717
5717
5718
5718
interface mixin Animatable {
5719
5719
Animation animate(object? keyframes,
5720
- optional (unrestricted double or KeyframeAnimationOptions) options);
5721
- sequence<Animation> getAnimations(optional GetAnimationsOptions options);
5720
+ optional (unrestricted double or KeyframeAnimationOptions) options = {} );
5721
+ sequence<Animation> getAnimations(optional GetAnimationsOptions options = {} );
5722
5722
};
5723
5723
5724
5724
dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
@@ -5932,7 +5932,7 @@ CSSPseudoElement includes Animatable;
5932
5932
5933
5933
5934
5934
[Exposed=Window,
5935
- Constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict)]
5935
+ Constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {} )]
5936
5936
interface AnimationPlaybackEvent : Event {
5937
5937
readonly attribute double? currentTime;
5938
5938
readonly attribute double? timelineTime;
0 commit comments