@@ -2262,7 +2262,9 @@ partial interface AnimationEffect {
22622262 needs to indicate that if <code> timing.duration</code>
22632263 is the string <code> auto</code> , this attribute will return
22642264 the current calculated value of the
2265- <a>intrinsic iteration duration</a> .
2265+ <a>intrinsic iteration duration</a> , which may be a expressed as a double
2266+ representing the duration in milliseconds or a percentage when the effect
2267+ is associated with a [=progress based timeline=] .
22662268
22672269: <dfn attribute for=AnimationEffect>parent</dfn>
22682270:: The <a>parent group</a> of this <a>animation effect</a> or
@@ -2349,13 +2351,20 @@ simply as removing the animation from its animation?
23492351<pre class="idl">
23502352partial dictionary EffectTiming {
23512353 double playbackRate = 1.0;
2354+ (unrestricted double or CSSNumericValue or DOMString) duration = "auto";
23522355};
23532356
23542357partial dictionary OptionalEffectTiming {
23552358 double playbackRate;
23562359};
23572360</pre>
23582361
2362+ Note: In this version of the spec, duration is not settable as a
2363+ CSSNumericValue; however, duration may be returned as a CSSNumericValue when
2364+ resolving the duration in {{AnimationEffect/getComputedTiming()}} . Future
2365+ versions of the spec may enable setting the duration as a CSSNumeric value,
2366+ where the unit is a valid time unit or percent.
2367+
23592368<div class="attributes">
23602369
23612370: <dfn>delay</dfn>
@@ -2383,11 +2392,11 @@ partial dictionary OptionalEffectTiming {
23832392
23842393 > The <dfn>specified iteration duration</dfn> which is a real number greater
23852394 > than or equal to zero (including positive infinity) representing the
2386- > time taken to complete a single iteration of the <a>animation
2387- > effect</a> , or the string value <code> auto</code> to indicate that the
2388- > <a>iteration duration</a> reflects the animation effect's
2389- > <a>intrinsic iteration duration</a> . The |specified iteration duration|
2390- > is converted to an <a>iteration duration</a> following the
2395+ > time taken in milliseconds to complete a single iteration of the
2396+ > <a>animation effect</a> , or the string value <code> auto</code> to indicate
2397+ > that the <a>iteration duration</a> reflects the animation effect's
2398+ > <a>intrinsic iteration duration</a> . The |specified iteration duration| is
2399+ > converted to an <a>iteration duration</a> following the
23912400 > [=normalize specified timing=] procedure.
23922401
23932402: <dfn dict-member for=EffectTiming>playbackRate</dfn>
0 commit comments