<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>14659</bug_id>
          
          <creation_ts>2011-11-01 16:45:14 +0000</creation_ts>
          <short_desc>&apos;animation-iteration&apos; event on last iteration</short_desc>
          <delta_ts>2012-04-10 23:54:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Animations</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/www-style/2011Nov/0021.html</bug_file_loc>
          <status_whiteboard>[easy][needsresolution]</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser">smfr</reporter>
          <assigned_to name="Dean Jackson">dino</assigned_to>
          <cc>cmarrin</cc>
    
    <cc>dino</cc>
    
    <cc>eoconnor</cc>
    
    <cc>smfr</cc>
    
    <cc>sylvaing</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59418</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2011-11-01 16:45:14 +0000</bug_when>
    <thetext>http://lists.w3.org/Archives/Public/www-style/2011Nov/0021.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64614</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2012-02-26 17:24:41 +0000</bug_when>
    <thetext>I think we&apos;ll just update the wording in the spec so say &quot;every iteration other than the last&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64616</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2012-02-26 17:27:05 +0000</bug_when>
    <thetext>*** Bug 14721 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64619</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2012-02-26 17:29:37 +0000</bug_when>
    <thetext>*** Bug 15241 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64629</commentid>
    <comment_count>4</comment_count>
    <who name="Sylvain Galineau">sylvaing</who>
    <bug_when>2012-02-26 23:06:55 +0000</bug_when>
    <thetext>That would match Gecko and Webkit but what is the rationale for that? We could overload animationend to be also the end of the last iteration but we have to be careful how we define what the last iteration is when the iteration count is fractional. Some timeline diagrams may help here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66389</commentid>
    <comment_count>5</comment_count>
    <who name="Sylvain Galineau">sylvaing</who>
    <bug_when>2012-04-03 20:37:11 +0000</bug_when>
    <thetext>Current wording:

# The ‘animationiteration’ event occurs at the end of each iteration 
# of an animation for which animation-iteration-count is greater than 
# one. This event does not occur for animations with an iteration count 
# of one. 

Proposed edit:

# The ‘animationiteration’ event occurs at the end of each animation
# iteration other than the last one. This event does not occur for 
# animations with an iteration count of one. 

Should it say &apos;with an iteration count of one or zero&apos;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66600</commentid>
    <comment_count>6</comment_count>
    <who name="Sylvain Galineau">sylvaing</who>
    <bug_when>2012-04-10 23:54:08 +0000</bug_when>
    <thetext>Resolved using dbaron&apos;s proposal [1]:

# The &apos;animationiteration&apos; event occurs at the end of each
# iteration of an animation, except when an &apos;animationend&apos; event
# would fire at the same time.  This means that this event does
# not occur for animations with an iteration count of one or less.

http://lists.w3.org/Archives/Public/www-style/2012Apr/0235.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>