Skip to content

Commit a58a6d8

Browse files
author
Sylvain Galineau
committed
Resolution for bug 14659 - animationiteration event and last iteration
1 parent b9d43cb commit a58a6d8

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

css3-animations/Overview.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,10 +1381,10 @@ <h2 id=animation-events><span class=secno>4. </span><a
13811381
<dt> <b>animationiteration</b>
13821382

13831383
<dd> The &lsquo;<code class=property>animationiteration</code>&rsquo;
1384-
event occurs at the end of each iteration of an animation for which <a
1385-
href="#animation-iteration-count"><code>animation-iteration-count</code></a>
1386-
is greater than one. This event does not occur for animations with an
1387-
iteration count of one.
1384+
event occurs at the end of each iteration of an animation, except when an
1385+
&lsquo;<code class=property>animationend</code>&rsquo; event would fire
1386+
at the same time. This means that this event does not occur for
1387+
animations with an iteration count of one or less.
13881388
<ul>
13891389
<li>Bubbles: Yes
13901390

css3-animations/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,8 @@ <h2 id="animation-events"><a id="animation-events-">
13761376
<b>animationiteration</b>
13771377
</dt>
13781378
<dd>
1379-
The 'animationiteration' event occurs at the end of each iteration of an animation for which <code>animation-iteration-count</code> is greater than one. This event does not occur for animations with an iteration count of one.
1379+
The 'animationiteration' event occurs at the end of each iteration of an animation, except when an 'animationend' event would fire at the same time.
1380+
This means that this event does not occur for animations with an iteration count of one or less.
13801381
<ul>
13811382
<li>Bubbles: Yes
13821383
</li>

0 commit comments

Comments
 (0)