Update interfaces/web-animations.idl (#18639)
Source: https://github.com/tidoust/reffy-reports/blob/39e9fa7/whatwg/idl/web-animations.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/575681768
diff --git a/interfaces/web-animations.idl b/interfaces/web-animations.idl
index 0fc5b47..72ac87f 100644
--- a/interfaces/web-animations.idl
+++ b/interfaces/web-animations.idl
@@ -13,7 +13,7 @@
};
[Exposed=Window,
- Constructor(optional DocumentTimelineOptions options)]
+ Constructor(optional DocumentTimelineOptions options = {})]
interface DocumentTimeline : AnimationTimeline {
};
@@ -53,7 +53,7 @@
interface AnimationEffect {
EffectTiming getTiming();
ComputedEffectTiming getComputedTiming();
- void updateTiming(optional OptionalEffectTiming timing);
+ void updateTiming(optional OptionalEffectTiming timing = {});
};
dictionary EffectTiming {
@@ -93,7 +93,7 @@
[Exposed=Window,
Constructor((Element or CSSPseudoElement)? target,
object? keyframes,
- optional (unrestricted double or KeyframeEffectOptions) options),
+ optional (unrestricted double or KeyframeEffectOptions) options = {}),
Constructor(KeyframeEffect source)]
interface KeyframeEffect : AnimationEffect {
attribute (Element or CSSPseudoElement)? target;
@@ -135,8 +135,8 @@
interface mixin Animatable {
Animation animate(object? keyframes,
- optional (unrestricted double or KeyframeAnimationOptions) options);
- sequence<Animation> getAnimations(optional GetAnimationsOptions options);
+ optional (unrestricted double or KeyframeAnimationOptions) options = {});
+ sequence<Animation> getAnimations(optional GetAnimationsOptions options = {});
};
dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
@@ -160,7 +160,7 @@
CSSPseudoElement includes Animatable;
[Exposed=Window,
- Constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict)]
+ Constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {})]
interface AnimationPlaybackEvent : Event {
readonly attribute double? currentTime;
readonly attribute double? timelineTime;