[css3-animations] Empty keyframe rules are exexecuted as long as duration > 0 (bug 15251)

Fri, 11 Jan 2013 12:52:21 -0800

author
Sylvain Galineau <sylvaing@microsoft.com>
date
Fri, 11 Jan 2013 12:52:21 -0800
changeset 7176
5c2fe7da2fe7
parent 7175
d245107579c4
child 7177
ec77e31091f6

[css3-animations] Empty keyframe rules are exexecuted as long as duration > 0 (bug 15251)

css3-animations/Overview.html file | annotate | diff | comparison | revisions
css3-animations/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-animations/Overview.html	Fri Jan 11 16:51:55 2013 +0100
     1.2 +++ b/css3-animations/Overview.html	Fri Jan 11 12:52:21 2013 -0800
     1.3 @@ -10,11 +10,11 @@
     1.4  
     1.5    <meta content="CSS Animations" name=dcterms.title>
     1.6    <meta content=text name=dcterms.type>
     1.7 -  <meta content=2012-12-18 name=dcterms.issued>
     1.8 +  <meta content=2013-01-11 name=dcterms.issued>
     1.9    <meta content="http://dev.w3.org/csswg/css3-animations/"
    1.10     name=dcterms.creator>
    1.11    <meta content=W3C name=dcterms.publisher>
    1.12 -  <meta content="http://www.w3.org/TR/2012/ED-css3-animations-20121218/"
    1.13 +  <meta content="http://www.w3.org/TR/2013/ED-css3-animations-20130111/"
    1.14     name=dcterms.identifier>
    1.15    <meta content="text/html; charset=utf-8" http-equiv=Content-Type>
    1.16    <link href="../default.css" rel=stylesheet type="text/css">
    1.17 @@ -31,15 +31,15 @@
    1.18  
    1.19     <h1>CSS Animations</h1>
    1.20  
    1.21 -   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 18 December
    1.22 -    2012</h2>
    1.23 +   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 11 January
    1.24 +    2013</h2>
    1.25  
    1.26     <dl>
    1.27      <dt>This version:
    1.28  
    1.29      <dd><a
    1.30 -     href="http://www.w3.org/TR/2012/ED-css3-animations-20121218/">http://dev.w3.org/csswg/css3-animations/</a>
    1.31 -     <!--http://www.w3.org/TR/2012/WD-css3-animations-20121218/-->
    1.32 +     href="http://www.w3.org/TR/2013/ED-css3-animations-20130111/">http://dev.w3.org/csswg/css3-animations/</a>
    1.33 +     <!--http://www.w3.org/TR/2013/WD-css3-animations-20130111/-->
    1.34  
    1.35      <dt>Latest version:
    1.36  
    1.37 @@ -93,7 +93,7 @@
    1.38     <!--begin-copyright-->
    1.39     <p class=copyright><a
    1.40      href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
    1.41 -    rel=license>Copyright</a> © 2012 <a href="http://www.w3.org/"><abbr
    1.42 +    rel=license>Copyright</a> © 2013 <a href="http://www.w3.org/"><abbr
    1.43      title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a
    1.44      href="http://www.csail.mit.edu/"><abbr
    1.45      title="Massachusetts Institute of Technology">MIT</abbr></a>, <a
    1.46 @@ -437,10 +437,6 @@
    1.47     percentage values or values higher than 100%, then the keyframe will be
    1.48     ignored.
    1.49  
    1.50 -  <p> At least one valid keyframe rule must be specified in order for the
    1.51 -   animation to run. This requirement does not include rules constructed by
    1.52 -   the user agent.
    1.53 -
    1.54    <p> The <dfn id=keyframe-declaration-block>keyframe declaration block</dfn>
    1.55     for a keyframe rule consists of properties and values. Properties that are
    1.56     unable to be animated are ignored in these rules, with the exception of
    1.57 @@ -1440,6 +1436,10 @@
    1.58     class=property>animation-name</code></a>’ value and not necessarily for
    1.59     each property being animated.
    1.60  
    1.61 +  <p> Any animation for which both a valid keyframe rule and a non-zero
    1.62 +   duration are defined will run and generate events; this includes
    1.63 +   animations with empty keyframe rules.
    1.64 +
    1.65    <p> The time the animation has been running is sent with each event
    1.66     generated. This allows the event handler to determine the current
    1.67     iteration of a looping animation or the current position of an alternating
     2.1 --- a/css3-animations/Overview.src.html	Fri Jan 11 16:51:55 2013 +0100
     2.2 +++ b/css3-animations/Overview.src.html	Fri Jan 11 12:52:21 2013 -0800
     2.3 @@ -268,10 +268,6 @@
     2.4  		then the keyframe will be ignored.
     2.5  
     2.6  	<p>
     2.7 -		At least one valid keyframe rule must be specified in order for the animation
     2.8 -		to run. This requirement does not include rules constructed by the user agent.
     2.9 -	
    2.10 -	<p>
    2.11  		The <dfn>keyframe declaration block</dfn> for a keyframe rule 
    2.12  		consists of properties and values. 
    2.13  		Properties that are unable to be animated are ignored in these rules, 
    2.14 @@ -1040,6 +1036,11 @@
    2.15  		each 'animation-name' specifies a single animation. 
    2.16  		Therefore an event will be generated for each 'animation-name' value 
    2.17  		and not necessarily for each property being animated.
    2.18 +
    2.19 +	<p>
    2.20 +		Any animation for which both a valid keyframe rule and a non-zero duration are 
    2.21 +		defined will run and generate events; this includes animations with empty 
    2.22 +		keyframe rules. 
    2.23  			
    2.24  	<p>
    2.25  		The time the animation has been running is sent with each event generated. 

mercurial