Skip to content

Commit 35d8686

Browse files
Sync interfaces/ with @webref/idl 3.66.3 (#54606)
Co-authored-by: wpt-pr-bot <[email protected]>
1 parent 89f054c commit 35d8686

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

interfaces/web-animations-2.idl

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -116,20 +116,16 @@ dictionary AnimationPlaybackEventInit : EventInit {
116116

117117
[Exposed=Window]
118118
interface AnimationTrigger {
119-
readonly attribute AnimationTriggerBehavior behavior;
119+
constructor(optional AnimationTriggerOptions options = {});
120+
attribute AnimationTimeline timeline;
121+
attribute AnimationTriggerBehavior behavior;
122+
attribute any rangeStart;
123+
attribute any rangeEnd;
124+
attribute any exitRangeStart;
125+
attribute any exitRangeEnd;
120126
};
121127

122-
[Exposed=Window]
123-
interface TimelineTrigger : AnimationTrigger {
124-
constructor(optional TimelineTriggerOptions options = {});
125-
readonly attribute AnimationTimeline timeline;
126-
readonly attribute any rangeStart;
127-
readonly attribute any rangeEnd;
128-
readonly attribute any exitRangeStart;
129-
readonly attribute any exitRangeEnd;
130-
};
131-
132-
dictionary TimelineTriggerOptions {
128+
dictionary AnimationTriggerOptions {
133129
AnimationTimeline? timeline;
134130
AnimationTriggerBehavior? behavior = "once";
135131
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart = "normal";

0 commit comments

Comments
 (0)