mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
31 lines
1 KiB
Text
31 lines
1 KiB
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into reffy-reports
|
|
// (https://github.com/tidoust/reffy-reports)
|
|
// Source: CSS Animation Worklet API (https://wicg.github.io/animation-worklet/)
|
|
|
|
partial namespace CSS {
|
|
[SameObject] readonly attribute Worklet animationWorklet;
|
|
};
|
|
|
|
[ Exposed=AnimationWorklet, Global=AnimationWorklet ]
|
|
interface AnimationWorkletGlobalScope : WorkletGlobalScope {
|
|
void registerAnimator(DOMString name, VoidFunction animatorCtor);
|
|
};
|
|
|
|
[Constructor (DOMString animatorName,
|
|
optional (AnimationEffect or sequence<AnimationEffect>)? effects = null,
|
|
optional AnimationTimeline? timeline,
|
|
optional any options)]
|
|
interface WorkletAnimation : Animation {
|
|
readonly attribute DOMString animatorName;
|
|
};
|
|
|
|
interface WorkletGroupEffect {
|
|
sequence<AnimationEffect> getChildren();
|
|
};
|
|
|
|
[Exposed=AnimationWorklet]
|
|
partial interface AnimationEffect {
|
|
// Intended for use inside Animation Worklet scope to drive the effect.
|
|
attribute double localTime;
|
|
};
|