diff --git a/web-animations-1/Overview.bs b/web-animations-1/Overview.bs index cb629782f373..6d9c797d74f2 100644 --- a/web-animations-1/Overview.bs +++ b/web-animations-1/Overview.bs @@ -4831,7 +4831,7 @@ The following methods all accept a set of keyframes as an argument: * the {{KeyframeEffect(target, keyframes, options)}} constructor, * the {{KeyframeEffect/setKeyframes()}} method on the {{KeyframeEffect}} interface, -* the {{Animatable/animate()}} method of the {{Animatable}} interface. +* the {{Animatable/animate()}} method of the {{Animatable}} interface mixin. This argument may be specified in the one of two forms as illustrated below. @@ -4920,7 +4920,7 @@ This is independent from the timing function that applies to the entire iteration duration of the keyframe effect as specified using a {{KeyframeEffectOptions}} object (or {{KeyframeAnimationOptions}} object when using the {{Animatable/animate()}} method of the {{Animatable}} -interface). +interface mixin). In the following example, the two statements produce different results. @@ -5444,14 +5444,13 @@ enum CompositeOperation {"replace", "add", "accumulate"}; lt="animation accumulation">accumulated on to the underlying value. -
Animatable
interfaceAnimatable
interface mixin-[NoInterfaceObject] -interface Animatable { +interface mixin Animatable { Animation animate (object? keyframes, optional (unrestricted double or KeyframeAnimationOptions) options); sequence<Animation> getAnimations (); @@ -5588,9 +5587,9 @@ partial interface Document { that have yet to be processed. Issue(2054): Both this method and {{Animatable/getAnimations()}} on the - {{Animatable}} interface require retaining forwards-filling - animation effects and their animations - such that a document that + {{Animatable}} interface mixin require retaining + forwards-filling animation effects and their + animations such that a document that repeatedly produces forwards-filling animations will consume memory in an unbounded fashion. We may need to revise this definition (previously these methods @@ -5606,7 +5605,7 @@ Since DOM Elements may be the target of an animation, the {{Element}} interface [[!DOM]] is extended as follows:-Element implements Animatable; +Element includes Animatable;This allows the following kind of usage. @@ -5622,7 +5621,7 @@ Since keyframe effects may also target pseudo-elements, the animatable.-CSSPseudoElement implements Animatable; +CSSPseudoElement includes Animatable;The
@@ -5910,6 +5909,8 @@ The following changes have been made since the Animatable? toAnimationPlaybackEvent
interface(Element or CSSPseudoElement)?
(#186). * Dropped theSharedKeyframeList
interface. +* Converted {{Animatable}} from a[NoInterfaceObject]
interface + to an [=interface mixin=]. The changelog