Spracherkennung für: .webidl vermutete Sprache: Lisp {Lisp[44] Masm[44] C[40]} [Methode: maximale Elemente, drei Dimensionen]
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
* https://drafts.csswg.org/web-animations/#animationeffectreadonly
*
* Copyright © 2015 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
* liability, trademark and document use rules apply.
*/
enum FillMode {
"none",
"forwards",
"backwards",
"both",
"auto"
}
;
enum PlaybackDirection {
"normal",
"reverse",
"alternate",
"alternate-reverse"
}
;
dictionary EffectTiming {
// TODO: delay
and endDelay should no longer have default values:
//
https://drafts.csswg.org/web-animations-2/#the-effecttiming-dictionaries
double delay =
0.
0;
double endDelay =
0.
0;
FillMode fill =
"auto";
double iterationStart =
0.
0;
unrestricted double iterations =
1.
0;
(unrestricted double
or CSSNumericValue
or DOMString) duration =
"auto";
PlaybackDirection direction =
"normal";
UTF8String easing =
"linear";
}
;
dictionary OptionalEffectTiming {
double delay
;
double endDelay
;
FillMode fill
;
double iterationStart
;
unrestricted double iterations
;
// CSSNumericValue isn
't currently in the spec, but that's probably a bug:
//
https://github.com/w3c/csswg-drafts/issues/13990
(unrestricted double
or CSSNumericValue
or DOMString) duration
;
PlaybackDirection direction
;
UTF8String easing
;
}
;
dictionary ComputedEffectTiming : EffectTiming {
CSSNumberish endTime
;
CSSNumberish activeDuration
;
CSSNumberish? localTime
;
double? progress = null
;
unrestricted double? currentIteration = null
;
}
;
[Exposed=Window]
interface AnimationEffect {
EffectTiming getTiming()
;
[BinaryName=
"getComputedTimingAsDict"]
ComputedEffectTiming getComputedTiming()
;
[Throws]
undefined updateTiming(optional OptionalEffectTiming timing = {})
;
}
;