@@ -3902,9 +3902,9 @@ dictionary DocumentTimelineOptions {
3902
3902
DOMHighResTimeStamp originTime = 0;
3903
3903
};
3904
3904
3905
- [Exposed=Window,
3906
- Constructor(optional DocumentTimelineOptions options = {})]
3905
+ [Exposed=Window]
3907
3906
interface DocumentTimeline : AnimationTimeline {
3907
+ constructor(optional DocumentTimelineOptions options = {});
3908
3908
};
3909
3909
</pre>
3910
3910
@@ -3916,7 +3916,7 @@ interface DocumentTimeline : AnimationTimeline {
3916
3916
3917
3917
</div>
3918
3918
3919
- <div class=' constructors' >
3919
+ <div class=constructors>
3920
3920
3921
3921
: <dfn constructor for=DocumentTimeline
3922
3922
lt="DocumentTimeline(options)"> DocumentTimeline (options)</dfn>
@@ -3945,10 +3945,10 @@ interface DocumentTimeline : AnimationTimeline {
3945
3945
API by the {{Animation}} interface.
3946
3946
3947
3947
<pre class='idl'>
3948
- [Exposed=Window,
3949
- Constructor(optional AnimationEffect? effect = null,
3950
- optional AnimationTimeline? timeline)]
3948
+ [Exposed=Window]
3951
3949
interface Animation : EventTarget {
3950
+ constructor(optional AnimationEffect? effect = null,
3951
+ optional AnimationTimeline? timeline);
3952
3952
attribute DOMString id;
3953
3953
attribute AnimationEffect? effect;
3954
3954
readonly attribute AnimationTimeline? timeline;
@@ -3974,7 +3974,7 @@ interface Animation : EventTarget {
3974
3974
};
3975
3975
</pre>
3976
3976
3977
- <div class=" constructors" >
3977
+ <div class=constructors>
3978
3978
3979
3979
: <dfn constructor for=Animation
3980
3980
lt="Animation(effect, timeline)"> Animation (effect, timeline)</dfn>
@@ -4635,20 +4635,20 @@ dictionary ComputedEffectTiming : EffectTiming {
4635
4635
<a>Keyframe effects</a> are represented by the {{KeyframeEffect}} interface.
4636
4636
4637
4637
<pre class='idl'>
4638
- [Exposed=Window,
4639
- Constructor((Element or CSSPseudoElement)? target,
4640
- object? keyframes,
4641
- optional (unrestricted double or KeyframeEffectOptions) options = {}),
4642
- Constructor(KeyframeEffect source)]
4638
+ [Exposed=Window]
4643
4639
interface KeyframeEffect : AnimationEffect {
4640
+ constructor((Element or CSSPseudoElement)? target,
4641
+ object? keyframes,
4642
+ optional (unrestricted double or KeyframeEffectOptions) options = {});
4643
+ constructor(KeyframeEffect source);
4644
4644
attribute (Element or CSSPseudoElement)? target;
4645
4645
attribute CompositeOperation composite;
4646
4646
sequence<object> getKeyframes();
4647
4647
void setKeyframes(object? keyframes);
4648
4648
};
4649
4649
</pre>
4650
4650
4651
- <div class=" constructors" >
4651
+ <div class=constructors>
4652
4652
4653
4653
: <dfn constructor for=KeyframeEffect
4654
4654
lt="KeyframeEffect(target, keyframes, options)">
@@ -4718,7 +4718,7 @@ interface KeyframeEffect : AnimationEffect {
4718
4718
4719
4719
: <dfn constructor for=KeyframeEffect lt="KeyframeEffect(source)">KeyframeEffect (source)</dfn>
4720
4720
:: Creates a new {{KeyframeEffect}} object with the same properties
4721
- as {{KeyframeEffect/KeyframeEffect (source)/source}}
4721
+ as {{KeyframeEffect/constructor (source)/source}}
4722
4722
using the following procedure:
4723
4723
4724
4724
1. Create a new {{KeyframeEffect}} object, <var> effect</var> .
@@ -4739,9 +4739,10 @@ interface KeyframeEffect : AnimationEffect {
4739
4739
* [=playback direction=] , and
4740
4740
* [=timing function=] .
4741
4741
4742
- Note: Unlike the {{KeyframeEffect(target, keyframes,
4743
- options)}} constructor, we do not need to re-throw exceptions since the
4744
- timing properties specified on |source| can be assumed to be valid.
4742
+ Note: Unlike the
4743
+ {{KeyframeEffect(target, keyframes, options)}} constructor,
4744
+ we do not need to re-throw exceptions since the timing properties
4745
+ specified on |source| can be assumed to be valid.
4745
4746
4746
4747
<div class="parameters">
4747
4748
@@ -5829,9 +5830,9 @@ CSSPseudoElement includes Animatable;
5829
5830
{{AnimationPlaybackEvent}} interface.
5830
5831
5831
5832
<pre class='idl'>
5832
- [Exposed=Window,
5833
- Constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {})]
5833
+ [Exposed=Window]
5834
5834
interface AnimationPlaybackEvent : Event {
5835
+ constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {});
5835
5836
readonly attribute double? currentTime;
5836
5837
readonly attribute double? timelineTime;
5837
5838
};
0 commit comments