Skip to content

Commit 2fab934

Browse files
committed
[web-animations-1] Clarify handling of "auto" value for duration
Closes #2471.
1 parent f71e7d0 commit 2fab934

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

web-animations-1/Overview.bs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4306,9 +4306,15 @@ dictionary OptionalEffectTiming {
43064306
effect</a>.
43074307

43084308
In this level of this specification, the string value <code>auto</code>
4309-
is equivalent to zero.
4309+
is treated as the value zero for the purpose of timing model calculations
4310+
and for the result of the {{EffectTiming/duration}} member returned
4311+
from {{AnimationEffect/getComputedTiming()}}.
4312+
If the author specifies the <code>auto</code> value user agents must,
4313+
however, return <code>auto</code> for the {{EffectTiming/duration}} member
4314+
returned from {{AnimationEffect/getTiming()}}.
4315+
43104316
This is a forwards-compatiblity measure since a future level of this
4311-
specification will introduce group effects where the
4317+
specification is expected to introduce group effects where the
43124318
<code>auto</code> value expands to include the duration of the child
43134319
effects.
43144320

0 commit comments

Comments
 (0)