Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[web-animations-1] Add dictionary default values #4235

Merged
merged 1 commit into from
Aug 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions web-animations-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3960,7 +3960,7 @@ dictionary DocumentTimelineOptions {
};

[Exposed=Window,
Constructor(optional DocumentTimelineOptions options)]
Constructor(optional DocumentTimelineOptions options = {})]
interface DocumentTimeline : AnimationTimeline {
};
</pre>
Expand Down Expand Up @@ -4322,7 +4322,7 @@ abstract {{AnimationEffect}} interface.
interface AnimationEffect {
EffectTiming getTiming();
ComputedEffectTiming getComputedTiming();
void updateTiming(optional OptionalEffectTiming timing);
void updateTiming(optional OptionalEffectTiming timing = {});
};
</pre>

Expand Down Expand Up @@ -4697,7 +4697,7 @@ dictionary ComputedEffectTiming : EffectTiming {
[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;
Expand Down Expand Up @@ -5717,8 +5717,8 @@ the {{Animatable}} interface mixin.
<pre class='idl'>
interface mixin Animatable {
Animation animate(object? keyframes,
optional (unrestricted double or KeyframeAnimationOptions) options);
sequence&lt;Animation&gt; getAnimations(optional GetAnimationsOptions options);
optional (unrestricted double or KeyframeAnimationOptions) options = {});
sequence&lt;Animation&gt; getAnimations(optional GetAnimationsOptions options = {});
};

dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
Expand Down Expand Up @@ -5932,7 +5932,7 @@ CSSPseudoElement includes Animatable;

<pre class='idl'>
[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;
Expand Down