Skip to content
This repository was archived by the owner on Jun 7, 2018. It is now read-only.

Commit cd6775e

Browse files
committed
Use [Exposed] consistently
Apparently this is needed for whatwg/webidl#365.
1 parent 3e54cff commit cd6775e

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

Overview.bs

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4667,6 +4667,7 @@ represented by the value <code>null</code>.
46674667
{{AnimationTimeline}} interface.
46684668

46694669
<pre class="idl">
4670+
[Exposed=Window]
46704671
interface AnimationTimeline {
46714672
readonly attribute double? currentTime;
46724673
<!-- @if LEVEL=2 -->
@@ -4736,7 +4737,8 @@ dictionary DocumentTimelineOptions {
47364737
DOMHighResTimeStamp originTime = 0;
47374738
};
47384739

4739-
[Constructor (optional DocumentTimelineOptions options)]
4740+
[Exposed=Window,
4741+
Constructor (optional DocumentTimelineOptions options)]
47404742
interface DocumentTimeline : AnimationTimeline {
47414743
};
47424744
</pre>
@@ -4781,7 +4783,8 @@ interface DocumentTimeline : AnimationTimeline {
47814783
API by the {{Animation}} interface.
47824784

47834785
<pre class='idl'>
4784-
[Constructor (optional AnimationEffectReadOnly? effect = null,
4786+
[Exposed=Window,
4787+
Constructor (optional AnimationEffectReadOnly? effect = null,
47854788
optional AnimationTimeline? timeline)]
47864789
interface Animation : EventTarget {
47874790
attribute DOMString id;
@@ -4954,6 +4957,7 @@ interface.
49544957
<!-- @endif -->
49554958

49564959
<pre class='idl'>
4960+
[Exposed=Window]
49574961
interface AnimationEffectReadOnly {
49584962
readonly attribute AnimationEffectTimingReadOnly timing;
49594963
ComputedTimingProperties getComputedTiming();
@@ -5107,6 +5111,7 @@ simply as removing the animation from its animation?
51075111
Issue: This interface needs a constructor.
51085112

51095113
<pre class="idl">
5114+
[Exposed=Window]
51105115
interface AnimationEffectTimingReadOnly {
51115116
readonly attribute double delay;
51125117
readonly attribute double endDelay;
@@ -5261,6 +5266,7 @@ of a mutable <a>animation effect</a> such as <!-- @ifdef INCLUDE_GROUPS -->
52615266
Issue: This interface needs a constructor.
52625267

52635268
<pre class='idl'>
5269+
[Exposed=Window]
52645270
interface AnimationEffectTiming : AnimationEffectTimingReadOnly {
52655271
inherit attribute double delay;
52665272
inherit attribute double endDelay;
@@ -5556,7 +5562,8 @@ Mutable <a>group effects</a> are represented by the {{GroupEffect}}
55565562
interface.
55575563

55585564
<pre class='idl'>
5559-
[Constructor (sequence<AnimationEffectReadOnly>? children,
5565+
[Exposed=Window,
5566+
Constructor (sequence<AnimationEffectReadOnly>? children,
55605567
optional (unrestricted double or AnimationEffectTimingProperties) timing)]
55615568
interface GroupEffectReadOnly : AnimationEffectReadOnly {
55625569
readonly attribute AnimationNodeList children;
@@ -5571,7 +5578,8 @@ interface GroupEffectMutable {
55715578
void append (AnimationEffectReadOnly... effects);
55725579
};
55735580

5574-
[Constructor (sequence<AnimationEffectReadOnly>? children,
5581+
[Exposed=Window,
5582+
Constructor (sequence<AnimationEffectReadOnly>? children,
55755583
optional (unrestricted double or AnimationEffectTimingProperties) timing)]
55765584
interface GroupEffect : GroupEffectReadOnly {
55775585
};
@@ -5814,6 +5822,7 @@ are accessed via a <code>children</code> member.
58145822
</p>
58155823

58165824
<pre class='idl'>
5825+
[Exposed=Window]
58175826
interface AnimationNodeList {
58185827
readonly attribute unsigned long length;
58195828
getter AnimationEffectReadOnly? item (unsigned long index);
@@ -5847,13 +5856,15 @@ Mutable <a>sequence effects</a> are represented by the {{SequenceEffect}}
58475856
interface.
58485857

58495858
<pre class='idl'>
5850-
[Constructor (sequence<AnimationEffectReadOnly>? children,
5859+
[Exposed=Window,
5860+
Constructor (sequence<AnimationEffectReadOnly>? children,
58515861
optional (unrestricted double or AnimationEffectTimingProperties) timing)]
58525862
interface SequenceEffectReadOnly : GroupEffectReadOnly {
58535863
SequenceEffect clone ();
58545864
};
58555865

5856-
[Constructor (sequence<AnimationEffectReadOnly>? children,
5866+
[Exposed=Window,
5867+
Constructor (sequence<AnimationEffectReadOnly>? children,
58575868
optional (unrestricted double or AnimationEffectTimingProperties) timing)]
58585869
interface SequenceEffect : SequenceEffectReadOnly {
58595870
};
@@ -5893,7 +5904,8 @@ Mutable <a>keyframe effects</a> are represented by the
58935904
{{KeyframeEffect}} interface.
58945905

58955906
<pre class='idl'>
5896-
[Constructor ((Element or CSSPseudoElement)? target,
5907+
[Exposed=Window,
5908+
Constructor ((Element or CSSPseudoElement)? target,
58975909
object? keyframes,
58985910
optional (unrestricted double or KeyframeEffectOptions) options),
58995911
Constructor (KeyframeEffectReadOnly source)]
@@ -5904,7 +5916,8 @@ interface KeyframeEffectReadOnly : AnimationEffectReadOnly {
59045916
sequence&lt;object&gt; getKeyframes ();
59055917
};
59065918

5907-
[Constructor ((Element or CSSPseudoElement)? target,
5919+
[Exposed=Window,
5920+
Constructor ((Element or CSSPseudoElement)? target,
59085921
object? keyframes,
59095922
optional (unrestricted double or KeyframeEffectOptions) options),
59105923
Constructor (KeyframeEffectReadOnly source)]
@@ -6943,7 +6956,8 @@ var player2 = element2.animate(keyframes, { duration: 1000, delay: 1000 });
69436956
</div>
69446957
69456958
<pre class='idl'>
6946-
[Constructor (object? keyframes)]
6959+
[Exposed=Window,
6960+
Constructor (object? keyframes)]
69476961
interface SharedKeyframeList {
69486962
};
69496963
</pre>
@@ -7210,7 +7224,8 @@ CSSPseudoElement implements Animatable;
72107224
interface.
72117225
72127226
<pre class='idl'>
7213-
[Constructor (DOMString type, optional AnimationPlaybackEventInit eventInitDict)]
7227+
[Exposed=Window,
7228+
Constructor (DOMString type, optional AnimationPlaybackEventInit eventInitDict)]
72147229
interface AnimationPlaybackEvent : Event {
72157230
readonly attribute double? currentTime;
72167231
readonly attribute double? timelineTime;

0 commit comments

Comments
 (0)