Skip to content

Commit 89c54ad

Browse files
Kevin Ellisbirtles
authored andcommitted
Fix case of zero iteration count
1 parent 339c8a0 commit 89c54ad

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

web-animations-2/Overview.bs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,11 +1006,16 @@ Add:
10061006
> :: Follow the procedure in
10071007
> [[#the-intrinsic-iteration-duration-of-a-sequence-effect]]
10081008
>
1009-
> : If [=timeline duration=] is unresolved,
1009+
> : If [=timeline duration=] is unresolved or <a>iteration count</a> is zero,
10101010
> :: Return 0
10111011
>
10121012
> : Otherwise
1013-
> :: Return [=timeline duration=] / <a>iteration count</a>
1013+
> :: Return <code>(100% - <a>start delay</a> - <a>end delay</a>) /
1014+
> <a>iteration count</a></code>
1015+
> <p class="note">
1016+
> Presently start and end delays are zero until such time as percentage
1017+
> based delays are supported.
1018+
> </p>
10141019
> </div>
10151020
>
10161021
> The <a>iteration duration</a> of an <a>animation effect</a> may be set

0 commit comments

Comments
 (0)