Make negative transition-duration and animation-duration values invalid (Bug 16806)

Thu, 12 Jul 2012 13:26:09 -0700

author
Sylvain Galineau <sylvaing@microsoft.com>
date
Thu, 12 Jul 2012 13:26:09 -0700
changeset 6218
13621f209435
parent 6217
e70ae4fa9078
child 6219
dbe25978deec

Make negative transition-duration and animation-duration values invalid (Bug 16806)

css3-animations/Overview.src.html file | annotate | diff | comparison | revisions
css3-transitions/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-animations/Overview.src.html	Thu Jul 12 12:42:15 2012 -0700
     1.2 +++ b/css3-animations/Overview.src.html	Thu Jul 12 13:26:09 2012 -0700
     1.3 @@ -548,8 +548,8 @@
     1.4  	<p>
     1.5  		The initial value is ''0s'', 
     1.6  		meaning that the animation takes no time. 
     1.7 -		A negative value for 'animation-duration' is treated as ''0s''. 
     1.8 -		In this case 'animation-fill-mode' still applies, 
     1.9 +		A negative value for 'animation-duration' renders the declaration invalid. 
    1.10 +		When the duration is ''0s'' 'animation-fill-mode' still applies, 
    1.11  		so an animation that fills backwards 
    1.12  		will show the value of the 0% keyframe during any delay period, 
    1.13  		and an animation that fills forwards will retain the value specified at the 100% keyframe, 
     2.1 --- a/css3-transitions/Overview.src.html	Thu Jul 12 12:42:15 2012 -0700
     2.2 +++ b/css3-transitions/Overview.src.html	Thu Jul 12 13:26:09 2012 -0700
     2.3 @@ -373,7 +373,7 @@
     2.4          </tbody>
     2.5        </table>
     2.6        <p>
     2.7 -        This property specifies how long the transition from the old value to the new value should take. By default the value is '0s', meaning that the transition is immediate (i.e. there will be no animation). A negative value for <code class="property">transition-duration</code> is treated as '0s'.
     2.8 +        This property specifies how long the transition from the old value to the new value should take. By default the value is '0s', meaning that the transition is immediate (i.e. there will be no animation). A negative value for <code class="property">transition-duration</code> renders the declaration invalid.
     2.9        </p>
    2.10  
    2.11        <!-- =======================================================================================================   

mercurial