-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,144 changed files
with
75,668 additions
and
3,075 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Wed Mar 20 2024 19:58:05 GMT-0700 (Pacific Daylight Time) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
enum AriaNotifyInterrupt { "none", "all", "pending" }; | ||
enum AriaNotifyPriority { "none", "important" }; | ||
|
||
dictionary AriaNotificationOptions { | ||
AriaNotifyInterrupt interrupt = "none"; | ||
AriaNotifyPriority priority = "none"; | ||
DOMString notificationId = ""; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* Copyright (C) 2013 Google Inc. All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions are | ||
* met: | ||
* | ||
* * Redistributions of source code must retain the above copyright | ||
* notice, this list of conditions and the following disclaimer. | ||
* * Redistributions in binary form must reproduce the above | ||
* copyright notice, this list of conditions and the following disclaimer | ||
* in the documentation and/or other materials provided with the | ||
* distribution. | ||
* * Neither the name of Google Inc. nor the names of its | ||
* contributors may be used to endorse or promote products derived from | ||
* this software without specific prior written permission. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
|
||
// https://w3.org/TR/web-animations-1/#the-animatable-interface-mixin | ||
interface mixin Animatable { | ||
[CallWith=ScriptState, Measure, RaisesException] Animation animate(object? keyframes, optional (unrestricted double or KeyframeAnimationOptions) options); | ||
sequence<Animation> getAnimations(optional GetAnimationsOptions options = {}); | ||
}; | ||
|
||
// https://drafts.csswg.org/web-animations-1/#extensions-to-the-element-interface | ||
Element includes Animatable; | ||
|
||
// https://drafts.csswg.org/web-animations-1/#extensions-to-the-pseudoelement-interface | ||
// TODO(smcgruer): Uncomment once CSSPseudoElement is implemented in Chromium. | ||
// CSSPseudoElement includes Animatable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/* | ||
* Copyright (C) 2013 Google Inc. All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions are | ||
* met: | ||
* | ||
* * Redistributions of source code must retain the above copyright | ||
* notice, this list of conditions and the following disclaimer. | ||
* * Redistributions in binary form must reproduce the above | ||
* copyright notice, this list of conditions and the following disclaimer | ||
* in the documentation and/or other materials provided with the | ||
* distribution. | ||
* * Neither the name of Google Inc. nor the names of its | ||
* contributors may be used to endorse or promote products derived from | ||
* this software without specific prior written permission. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
|
||
// https://w3.org/TR/web-animations-1/#the-animation-interface | ||
|
||
enum AnimationPlayState { "idle", "pending", "running", "paused", "finished" }; | ||
|
||
enum ReplaceState { "active", "removed", "persisted" }; | ||
|
||
[ | ||
Exposed=Window, | ||
ActiveScriptWrappable | ||
] interface Animation : EventTarget { | ||
[CallWith=ExecutionContext, RaisesException] constructor(optional AnimationEffect? effect = null, optional AnimationTimeline? timeline); | ||
[Measure] attribute AnimationEffect? effect; | ||
attribute AnimationTimeline? timeline; | ||
[Measure, RaisesException=Setter] attribute CSSNumberish? startTime; | ||
[Measure, RaisesException=Setter] attribute CSSNumberish? currentTime; | ||
[Measure, RaisesException=Setter] attribute double playbackRate; | ||
[RuntimeEnabled=ScrollTimeline, Measure, RaisesException=Setter] attribute (TimelineRangeOffset or DOMString) rangeStart; | ||
[RuntimeEnabled=ScrollTimeline, Measure, RaisesException=Setter] attribute (TimelineRangeOffset or DOMString) rangeEnd; | ||
[Measure] readonly attribute AnimationPlayState playState; | ||
[Measure] readonly attribute ReplaceState replaceState; | ||
[Measure] readonly attribute boolean pending; | ||
[Measure, RaisesException, CEReactions] void commitStyles(); | ||
[Measure, RaisesException] void finish(); | ||
[Measure, RaisesException] void play(); | ||
[Measure, RaisesException] void pause(); | ||
[Measure, RaisesException] void reverse(); | ||
[Measure, RaisesException] void updatePlaybackRate(double playback_rate); | ||
[Measure] void persist(); | ||
[Measure] attribute DOMString id; | ||
[Measure] void cancel(); | ||
[Measure] attribute EventHandler onfinish; | ||
[Measure] attribute EventHandler oncancel; | ||
[Measure] attribute EventHandler onremove; | ||
[CallWith=ScriptState] readonly attribute Promise<Animation> finished; | ||
[CallWith=ScriptState] readonly attribute Promise<Animation> ready; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Copyright (C) 2013 Google Inc. All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions are | ||
* met: | ||
* | ||
* * Redistributions of source code must retain the above copyright | ||
* notice, this list of conditions and the following disclaimer. | ||
* * Redistributions in binary form must reproduce the above | ||
* copyright notice, this list of conditions and the following disclaimer | ||
* in the documentation and/or other materials provided with the | ||
* distribution. | ||
* * Neither the name of Google Inc. nor the names of its | ||
* contributors may be used to endorse or promote products derived from | ||
* this software without specific prior written permission. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
|
||
// https://w3.org/TR/web-animations-1/#the-animationeffect-interface | ||
|
||
[Exposed=Window] | ||
interface AnimationEffect { | ||
EffectTiming getTiming(); | ||
ComputedEffectTiming getComputedTiming(); | ||
[RaisesException] void updateTiming(optional OptionalEffectTiming timing = {}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright 2014 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://w3.org/TR/web-animations-1/#the-animationtimeline-interface | ||
|
||
enum TimelinePhase { "inactive", "before", "active", "after" }; | ||
[ | ||
Exposed=Window | ||
] interface AnimationTimeline { | ||
readonly attribute CSSNumberish? currentTime; | ||
[RuntimeEnabled=ScrollTimeline] readonly attribute CSSNumberish? duration; | ||
[RuntimeEnabled=ScrollTimelineCurrentTime] CSSNumericValue? getCurrentTime(optional DOMString rangeName = "cover"); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright 2018 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://w3.org/TR/web-animations-1/#dictdef-basekeyframe | ||
|
||
enum CompositeOperationOrAuto {"replace", "add", "accumulate", "auto"}; | ||
|
||
typedef (double or TimelineRangeOffset or DOMString) KeyframeOffset; | ||
dictionary BaseKeyframe { | ||
KeyframeOffset? offset = null; | ||
DOMString easing = "linear"; | ||
CompositeOperationOrAuto composite = "auto"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright 2017 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://w3.org/TR/web-animations-1/#dictdef-basepropertyindexedkeyframe | ||
|
||
dictionary BasePropertyIndexedKeyframe { | ||
(KeyframeOffset? or sequence<KeyframeOffset?>) offset = []; | ||
(DOMString or sequence<DOMString>) easing = []; | ||
(CompositeOperationOrAuto or sequence<CompositeOperationOrAuto>) composite = []; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright 2014 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://w3.org/TR/web-animations-1/#the-computedeffecttiming-dictionary | ||
|
||
dictionary ComputedEffectTiming : EffectTiming { | ||
CSSNumberish endTime; | ||
CSSNumberish activeDuration; | ||
CSSNumberish? localTime; | ||
double? progress; | ||
unrestricted double? currentIteration; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright 2019 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://drafts.csswg.org/css-animations-2/#the-CSSAnimation-interface | ||
|
||
[Exposed=Window] | ||
interface CSSAnimation : Animation { | ||
readonly attribute CSSOMString animationName; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright 2019 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://drafts.csswg.org/css-transitions-2/#the-CSSTransition-interface | ||
|
||
[Exposed=Window] | ||
interface CSSTransition : Animation { | ||
readonly attribute CSSOMString transitionProperty; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright 2014 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://w3.org/TR/web-animations-1/#extensions-to-the-document-interface | ||
|
||
[ | ||
ImplementedAs=DocumentAnimation | ||
] partial interface Document { | ||
readonly attribute DocumentTimeline timeline; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright 2016 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://w3.org/TR/web-animations-1/#the-documenttimeline-interface | ||
|
||
[ | ||
Exposed=Window | ||
] interface DocumentTimeline : AnimationTimeline { | ||
[CallWith=ExecutionContext] constructor(optional DocumentTimelineOptions options = {}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright 2017 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://w3.org/TR/web-animations-1/#dictdef-documenttimelineoptions | ||
|
||
dictionary DocumentTimelineOptions { | ||
DOMHighResTimeStamp originTime = 0; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Copyright 2016 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://w3.org/TR/web-animations-1/#the-effecttiming-dictionaries | ||
|
||
enum FillMode { "none", "forwards", "backwards", "both", "auto" }; | ||
enum PlaybackDirection { "normal", "reverse", "alternate", "alternate-reverse" }; | ||
|
||
dictionary EffectTiming { | ||
(double or CSSNumericValue) delay = 0; | ||
(double or CSSNumericValue) endDelay = 0; | ||
FillMode fill = "auto"; | ||
double iterationStart = 0.0; | ||
unrestricted double iterations = 1.0; | ||
(unrestricted double or CSSNumericValue or DOMString) duration = "auto"; | ||
PlaybackDirection direction = "normal"; | ||
DOMString easing = "linear"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright 2019 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://drafts.csswg.org/web-animations-1/#the-animatable-interface-mixin | ||
|
||
dictionary GetAnimationsOptions { | ||
boolean subtree = false; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright 2017 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://w3.org/TR/web-animations-1/#dictdef-keyframeanimationoptions | ||
|
||
// TODO(kevers): Add scroll-animations-1 link once range(Start|End) are fully | ||
// speced. | ||
|
||
enum TimelineRange { | ||
"none", | ||
"cover", | ||
"contain", | ||
"entry", | ||
"entry-crossing", | ||
"exit", | ||
"exit-crossing" }; | ||
|
||
dictionary TimelineRangeOffset { | ||
TimelineRange rangeName; | ||
CSSNumericValue offset; | ||
}; | ||
|
||
dictionary KeyframeAnimationOptions : KeyframeEffectOptions { | ||
DOMString id = ""; | ||
AnimationTimeline? timeline; | ||
(DOMString or TimelineRangeOffset) rangeStart = "normal"; | ||
(DOMString or TimelineRangeOffset) rangeEnd = "normal"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* Copyright (C) 2013 Google Inc. All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions are | ||
* met: | ||
* | ||
* * Redistributions of source code must retain the above copyright | ||
* notice, this list of conditions and the following disclaimer. | ||
* * Redistributions in binary form must reproduce the above | ||
* copyright notice, this list of conditions and the following disclaimer | ||
* in the documentation and/or other materials provided with the | ||
* distribution. | ||
* * Neither the name of Google Inc. nor the names of its | ||
* contributors may be used to endorse or promote products derived from | ||
* this software without specific prior written permission. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
|
||
// https://w3.org/TR/web-animations-1/#the-keyframeeffect-interface | ||
|
||
enum CompositeOperation { "replace", "add", "accumulate" }; | ||
|
||
[ | ||
Exposed=Window | ||
] interface KeyframeEffect : AnimationEffect { | ||
[CallWith=ScriptState, RaisesException, Measure] constructor(Element? target, object? keyframes, optional (unrestricted double or KeyframeEffectOptions) options); | ||
[CallWith=ScriptState, RaisesException, Measure] constructor(KeyframeEffect source); | ||
attribute Element? target; | ||
[RaisesException=Setter] attribute CSSOMString? pseudoElement; | ||
attribute CompositeOperation composite; | ||
[CallWith=ScriptState] sequence<object> getKeyframes(); | ||
[CallWith=ScriptState, RaisesException] void setKeyframes(object? keyframes); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright 2016 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// https://w3.org/TR/web-animations-1/#the-keyframeeffectoptions-dictionary | ||
|
||
dictionary KeyframeEffectOptions : EffectTiming { | ||
// TODO(alancutter): Implement iterationComposite | ||
CompositeOperation composite = "replace"; | ||
CSSOMString? pseudoElement = null; | ||
}; |
Oops, something went wrong.