<?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>14807</bug_id>
          
          <creation_ts>2011-11-11 20:51:44 +0000</creation_ts>
          <short_desc>Interaction of animation-delay and animation-iteration-count</short_desc>
          <delta_ts>2014-10-02 23:40:52 +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></bug_file_loc>
          <status_whiteboard>[easy]</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sylvain Galineau">sylvaing</reporter>
          <assigned_to name="Dean Jackson">dino</assigned_to>
          <cc>cmarrin</cc>
    
    <cc>eoconnor</cc>
    
    <cc>galineau</cc>
    
    <cc>smfr</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59968</commentid>
    <comment_count>0</comment_count>
    <who name="Sylvain Galineau">sylvaing</who>
    <bug_when>2011-11-11 20:51:44 +0000</bug_when>
    <thetext>http://lists.w3.org/Archives/Public/www-style/2011Feb/0556.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66392</commentid>
    <comment_count>1</comment_count>
    <who name="Sylvain Galineau">sylvaing</who>
    <bug_when>2012-04-03 20:49:19 +0000</bug_when>
    <thetext>Current wording (3.8 The animation-delay property):

# The &apos;animation-delay&apos; property defines when the animation will start. 
# It allows an animation to begin execution some time after it is applied. 
# An &apos;animation-delay&apos; value of ‘0s’ means the animation will execute as 
# soon as it is applied. Otherwise, the value specifies an offset from 
# the moment the animation is applied, and the animation will delay 
# execution by that offset. 

Proposed wording:

# The &apos;animation-delay&apos; property defines when the animation&apos;s first
# iteration will start. This allows an animation to begin execution 
# some time after it is applied. An &apos;animation-delay&apos; value of ‘0s’ 
# means the animation will execute as soon as it is applied. Otherwise, 
# the value specifies an offset from the moment the animation is applied, 
# and the animation will delay execution by that offset.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66394</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2012-04-03 21:07:52 +0000</bug_when>
    <thetext>I think it would be useful to mention how negative animation-delay behaves.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66400</commentid>
    <comment_count>3</comment_count>
    <who name="Sylvain Galineau">sylvaing</who>
    <bug_when>2012-04-03 22:47:39 +0000</bug_when>
    <thetext>The next paragraph covers negative delays:

# If the value for &apos;animation-delay&apos; is a negative time offset then 
# the animation will execute the moment it is applied, but will appear 
# to have begun execution at the specified offset. That is, the animation 
# will appear to begin part-way through its play cycle. In the case where 
# an animation has implied starting values and a negative &apos;animation-delay&apos;, 
# the starting values are taken from the moment the animation is applied. 


Or do you mean we should cover the case where the delay is &gt; duration AND iteration-count &gt; 1?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66598</commentid>
    <comment_count>4</comment_count>
    <who name="Sylvain Galineau">sylvaing</who>
    <bug_when>2012-04-10 22:09:26 +0000</bug_when>
    <thetext>&quot;Or do you mean we should cover the case where the delay is &gt; duration AND
iteration-count &gt; 1?&quot;

Clarifying as this may be puzzling: the question here is whether we ought to define what happens when animation-delay &lt;= (-1 x animation-duration); for instance, what happens in cases such as:

animation-duration: 5s;
animation-delay: -5s;

animation-duration: 5s;
animation-delay: -6s;

animation-duration: 5s;
animation-iteration-count: 2;
animation-delay: -6s;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112617</commentid>
    <comment_count>5</comment_count>
    <who name="Sylvain Galineau">galineau</who>
    <bug_when>2014-10-02 23:40:52 +0000</bug_when>
    <thetext>Resolved per 2014-09-09 WG decision.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>