mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:57:44 +00:00
LibWeb: Format all .idl files to use four space indentation
This commit is contained in:
parent
d720fb8845
commit
5f5ac48908
21 changed files with 163 additions and 167 deletions
|
@ -10,34 +10,32 @@ enum CompositeOperationOrAuto { "replace", "add", "accumulate", "auto" };
|
|||
// https://www.w3.org/TR/web-animations-1/#the-keyframeeffectoptions-dictionary
|
||||
dictionary KeyframeEffectOptions : EffectTiming {
|
||||
CompositeOperation composite = "replace";
|
||||
CSSOMString? pseudoElement = null;
|
||||
CSSOMString? pseudoElement = null;
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#dictdef-basepropertyindexedkeyframe
|
||||
dictionary BasePropertyIndexedKeyframe {
|
||||
(double? or sequence<double?>) offset = [];
|
||||
(DOMString or sequence<DOMString>) easing = [];
|
||||
(double? or sequence<double?>) offset = [];
|
||||
(DOMString or sequence<DOMString>) easing = [];
|
||||
(CompositeOperationOrAuto or sequence<CompositeOperationOrAuto>) composite = [];
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#dictdef-basekeyframe
|
||||
dictionary BaseKeyframe {
|
||||
double? offset = null;
|
||||
DOMString easing = "linear";
|
||||
double? offset = null;
|
||||
DOMString easing = "linear";
|
||||
CompositeOperationOrAuto composite = "auto";
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#the-keyframeeffect-interface
|
||||
[Exposed=Window]
|
||||
interface KeyframeEffect : AnimationEffect {
|
||||
constructor(Element? target,
|
||||
object? keyframes,
|
||||
optional (unrestricted double or KeyframeEffectOptions) options = {});
|
||||
constructor(Element? target, object? keyframes, optional (unrestricted double or KeyframeEffectOptions) options = {});
|
||||
constructor(KeyframeEffect source);
|
||||
|
||||
attribute Element? target;
|
||||
attribute CSSOMString? pseudoElement;
|
||||
attribute Element? target;
|
||||
attribute CSSOMString? pseudoElement;
|
||||
attribute CompositeOperation composite;
|
||||
sequence<object> getKeyframes();
|
||||
undefined setKeyframes(object? keyframes);
|
||||
undefined setKeyframes(object? keyframes);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue