mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 08:07: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
|
@ -1,25 +1,25 @@
|
|||
// https://www.w3.org/TR/web-animations-1/#the-effecttiming-dictionaries
|
||||
dictionary EffectTiming {
|
||||
double delay = 0;
|
||||
double endDelay = 0;
|
||||
FillMode fill = "auto";
|
||||
double iterationStart = 0.0;
|
||||
unrestricted double iterations = 1.0;
|
||||
double delay = 0;
|
||||
double endDelay = 0;
|
||||
FillMode fill = "auto";
|
||||
double iterationStart = 0.0;
|
||||
unrestricted double iterations = 1.0;
|
||||
(unrestricted double or DOMString) duration = "auto";
|
||||
PlaybackDirection direction = "normal";
|
||||
DOMString easing = "linear";
|
||||
PlaybackDirection direction = "normal";
|
||||
DOMString easing = "linear";
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#dictdef-optionaleffecttiming
|
||||
dictionary OptionalEffectTiming {
|
||||
double delay;
|
||||
double endDelay;
|
||||
FillMode fill;
|
||||
double iterationStart;
|
||||
unrestricted double iterations;
|
||||
double delay;
|
||||
double endDelay;
|
||||
FillMode fill;
|
||||
double iterationStart;
|
||||
unrestricted double iterations;
|
||||
(unrestricted double or DOMString) duration;
|
||||
PlaybackDirection direction;
|
||||
DOMString easing;
|
||||
PlaybackDirection direction;
|
||||
DOMString easing;
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#the-fillmode-enumeration
|
||||
|
@ -30,17 +30,17 @@ enum PlaybackDirection { "normal", "reverse", "alternate", "alternate-reverse" }
|
|||
|
||||
// https://www.w3.org/TR/web-animations-1/#the-computedeffecttiming-dictionary
|
||||
dictionary ComputedEffectTiming : EffectTiming {
|
||||
unrestricted double endTime;
|
||||
unrestricted double activeDuration;
|
||||
double? localTime;
|
||||
double? progress;
|
||||
unrestricted double endTime;
|
||||
unrestricted double activeDuration;
|
||||
double? localTime;
|
||||
double? progress;
|
||||
unrestricted double? currentIteration;
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#the-animationeffect-interface
|
||||
[Exposed=Window]
|
||||
interface AnimationEffect {
|
||||
EffectTiming getTiming();
|
||||
EffectTiming getTiming();
|
||||
ComputedEffectTiming getComputedTiming();
|
||||
undefined updateTiming(optional OptionalEffectTiming timing = {});
|
||||
undefined updateTiming(optional OptionalEffectTiming timing = {});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue