css3-animations/Overview.src.html

changeset 5911
27544a0821fd
parent 5444
e44608181b73
child 6047
ceac3feb170f
     1.1 --- a/css3-animations/Overview.src.html	Tue May 29 15:57:11 2012 -0700
     1.2 +++ b/css3-animations/Overview.src.html	Wed May 30 14:29:24 2012 -0700
     1.3 @@ -1,12 +1,10 @@
     1.4 -<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'
     1.5 -  'http://www.w3.org/TR/html4/strict.dtd'>
     1.6 -
     1.7 +<!DOCTYPE html>
     1.8  <html lang="en">
     1.9  <head>
    1.10 -  <title>CSS Animations</title>
    1.11 -  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    1.12 -  <link rel="stylesheet" type="text/css" href="../default.css">
    1.13 -  <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-ED.css">
    1.14 +	<title>CSS Animations</title>
    1.15 +	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    1.16 +	<link rel="stylesheet" type="text/css" href="../default.css">
    1.17 +	<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-ED.css">
    1.18  </head>
    1.19  
    1.20  <body>
    1.21 @@ -18,38 +16,38 @@
    1.22  
    1.23  <h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
    1.24  <dl>
    1.25 -  <dt>This version:
    1.26 -    <dd><a href="[VERSION]">http://dev.w3.org/csswg/css3-animations/</a>
    1.27 -    <!--http://www.w3.org/TR/[YEAR]/WD-[SHORTNAME]-[CDATE]/-->
    1.28 -  <dt>Latest version:
    1.29 -    <dd><a
    1.30 -      href="http://www.w3.org/TR/css3-animations/">[LATEST]</a>
    1.31 -  <dt>Editor's draft:
    1.32 -    <dd><a href="http://dev.w3.org/csswg/[SHORTNAME]/">http://dev.w3.org/csswg/[SHORTNAME]/</a>
    1.33 +	<dt>This version:
    1.34 +		<dd><a href="[VERSION]">http://dev.w3.org/csswg/css3-animations/</a>
    1.35 +		<!--http://www.w3.org/TR/[YEAR]/WD-[SHORTNAME]-[CDATE]/-->
    1.36 +	<dt>Latest version:
    1.37 +		<dd><a
    1.38 +			href="http://www.w3.org/TR/css3-animations/">[LATEST]</a>
    1.39 +	<dt>Editor's draft:
    1.40 +		<dd><a href="http://dev.w3.org/csswg/[SHORTNAME]/">http://dev.w3.org/csswg/[SHORTNAME]/</a>
    1.41  
    1.42 -  <dt>Previous version:
    1.43 -    <dd><a href="http://www.w3.org/TR/2012/WD-css3-animations-20120403/">
    1.44 -      http://www.w3.org/TR/2012/WD-css3-animations-20120403/</a>
    1.45 -  <dt id="editors-list">Editors:
    1.46 -    <dd><a href="mailto:dino@apple.com">Dean Jackson</a> (<a
    1.47 -      href="http://www.apple.com/">Apple Inc</a>)
    1.48 -    <dd><a href="mailto:hyatt@apple.com">David Hyatt</a> (<a
    1.49 -      href="http://www.apple.com/">Apple Inc</a>)
    1.50 -    <dd><a href="mailto:cmarrin@apple.com">Chris Marrin</a> (<a
    1.51 -      href="http://www.apple.com/">Apple Inc</a>)
    1.52 -    <dd><a href="mailto:sylvaing@microsoft.com">Sylvain Galineau</a>
    1.53 -      (<a class=org href="http://www.microsoft.com/">Microsoft</a>)
    1.54 -    <dd class=vcard><a class=fn href="http://dbaron.org/">L. David Baron</a>
    1.55 -      (<a class=org href="http://www.mozilla.org/">Mozilla</a>)
    1.56 +	<dt>Previous version:
    1.57 +		<dd><a href="http://www.w3.org/TR/2012/WD-css3-animations-20120403/">
    1.58 +			http://www.w3.org/TR/2012/WD-css3-animations-20120403/</a>
    1.59 +	<dt id="editors-list">Editors:
    1.60 +		<dd><a href="mailto:dino@apple.com">Dean Jackson</a> (<a
    1.61 +			href="http://www.apple.com/">Apple Inc</a>)
    1.62 +		<dd><a href="mailto:hyatt@apple.com">David Hyatt</a> (<a
    1.63 +			href="http://www.apple.com/">Apple Inc</a>)
    1.64 +		<dd><a href="mailto:cmarrin@apple.com">Chris Marrin</a> (<a
    1.65 +			href="http://www.apple.com/">Apple Inc</a>)
    1.66 +		<dd><a href="mailto:sylvaing@microsoft.com">Sylvain Galineau</a>
    1.67 +			(<a class=org href="http://www.microsoft.com/">Microsoft</a>)
    1.68 +		<dd class=vcard><a class=fn href="http://dbaron.org/">L. David Baron</a>
    1.69 +			(<a class=org href="http://www.mozilla.org/">Mozilla</a>)
    1.70  
    1.71 -  <dt>Issues list:
    1.72 -    <dd><a href="https://www.w3.org/Bugs/Public/buglist.cgi?query_format=advanced&amp;product=CSS&amp;component=Animations&amp;resolution=---&amp;cmdtype=doit">in Bugzilla</a>
    1.73 +	<dt>Issues list:
    1.74 +		<dd><a href="https://www.w3.org/Bugs/Public/buglist.cgi?query_format=advanced&amp;product=CSS&amp;component=Animations&amp;resolution=---&amp;cmdtype=doit">in Bugzilla</a>
    1.75  
    1.76 -  <dt>Discussion:</dt>
    1.77 -    <dd><a href="http://lists.w3.org/Archives/Public/www-style/">www-style@w3.org</a> with subject line &ldquo;<kbd>[[SHORTNAME]] <var>&hellip; message topic &hellip;</var></kbd>&rdquo;
    1.78 +	<dt>Discussion:
    1.79 +		<dd><a href="http://lists.w3.org/Archives/Public/www-style/">www-style@w3.org</a> with subject line &ldquo;<kbd>[[SHORTNAME]] <var>&hellip; message topic &hellip;</var></kbd>&rdquo;
    1.80  
    1.81 -  <dt>Test suite:
    1.82 -    <dd>none yet
    1.83 +	<dt>Test suite:
    1.84 +		<dd>none yet
    1.85  </dl>
    1.86  
    1.87  <!--copyright-->
    1.88 @@ -57,1582 +55,1213 @@
    1.89  <hr title="Separator for header">
    1.90  </div>
    1.91  
    1.92 -<h2 class="no-num no-toc" id="abstract">Abstract</h2>
    1.93 +<h2 class="no-num no-toc" id="abstract">
    1.94 +Abstract</h2>
    1.95  
    1.96 -<p>This CSS module describes a way for authors to animate the values of CSS properties over time, using keyframes.
    1.97 -    The behavior of these keyframe animations can be controlled by specifying their duration, number of repeats,
    1.98 -    and repeating behavior.
    1.99 -</p>
   1.100 +	<p>
   1.101 +		This CSS module describes a way for authors to animate the values of CSS properties over time, 
   1.102 +		using keyframes. 
   1.103 +		The behavior of these keyframe animations can be controlled by specifying their duration, 
   1.104 +		number of repeats, 
   1.105 +		and repeating behavior.
   1.106  
   1.107 -<h2 class="no-num no-toc" id="status">Status of this document</h2>
   1.108 +
   1.109 +<h2 class="no-num no-toc" id="status">
   1.110 +Status of this document</h2>
   1.111  <!--status-->
   1.112  
   1.113  
   1.114 -<h2 class="no-num no-toc" id="contents">Table of contents</h2>
   1.115 +<h2 class="no-num no-toc" id="contents">
   1.116 +Table of contents</h2>
   1.117  <!--toc-->
   1.118  
   1.119  
   1.120 -<h2 id="introduction">Introduction</h2>
   1.121 +<h2 id="introduction">
   1.122 +Introduction</h2>
   1.123  
   1.124 -    <p><em>This section is not normative.</em>
   1.125 +	<p><em>This section is not normative.</em>
   1.126  
   1.127 -    <p>
   1.128 -        CSS Transitions [[!CSS3-TRANSITIONS]] provide a way to interpolate CSS property values
   1.129 -        when they change as a result of underlying property changes. This provides an easy way to do simple animation,
   1.130 -        but the start and end states of the animation are controlled by the existing property values,
   1.131 -        and transitions provide little control to the author on how the animation progresses.
   1.132 -    </p>
   1.133 -    <p>
   1.134 -        This proposal introduces <em>defined animations</em>, in which the author can
   1.135 -        specify the changes in CSS properties over time as a set of keyframes. Animations are similar to transitions
   1.136 -        in that they change the presentational value of CSS properties over time.
   1.137 -        The principal difference is that while transitions trigger <i>implicitly</i> when property values change, animations
   1.138 -        are <i>explicitly</i> executed when the animation properties are applied. Because of this, animations require explicit 
   1.139 -        values for the properties being animated. These values are specified using animation keyframes, described below.
   1.140 -    </p>
   1.141 -    <p>
   1.142 -        Many aspects of the animation can be controlled, including how many times the animation iterates, whether or not 
   1.143 -        it alternates between the begin and end values, and whether or not the animation should be running or paused.
   1.144 -        An animation can also delay its start time.
   1.145 -    </p>
   1.146 +	<p>
   1.147 +		CSS Transitions [[CSS3-TRANSITIONS]] 
   1.148 +		provide a way to interpolate CSS property values 
   1.149 +		when they change as a result of underlying property changes. 
   1.150 +		This provides an easy way to do simple animation, 
   1.151 +		but the start and end states of the animation are controlled by the existing property values, 
   1.152 +		and transitions provide little control to the author on how the animation progresses.
   1.153 +	
   1.154 +	<p>
   1.155 +		This proposal introduces <dfn>defined animations</dfn>, 
   1.156 +		in which the author can specify the changes in CSS properties over time as a set of keyframes. 
   1.157 +		Animations are similar to transitions 
   1.158 +		in that they change the presentational value of CSS properties over time. 
   1.159 +		The principal difference is that 
   1.160 +		while transitions trigger <em>implicitly</em> when property values change, 
   1.161 +		animations are <em>explicitly</em> executed when the animation properties are applied. 
   1.162 +		Because of this, 
   1.163 +		animations require explicit values for the properties being animated. 
   1.164 +		These values are specified using animation keyframes, described below.
   1.165 +	
   1.166 +	<p>
   1.167 +		Many aspects of the animation can be controlled, 
   1.168 +		including how many times the animation iterates, 
   1.169 +		whether or not it alternates between the begin and end values, 
   1.170 +		and whether or not the animation should be running or paused. 
   1.171 +		An animation can also delay its start time.
   1.172  
   1.173 -    <h2 id="animations">Animations</h2>
   1.174  
   1.175 -    <p>
   1.176 -      CSS Animations affect computed property values. During the execution of an animation, the
   1.177 -      computed value for a property is controlled by the animation. This overrides the value
   1.178 -      specified in the normal styling system.
   1.179 -    </p>
   1.180 +<h2 id="animations">
   1.181 +Animations</h2>
   1.182  
   1.183 -    <p>
   1.184 -      If at one point in time there are multiple animations specifying behavior  
   1.185 -      for the same property, the animation whose name occurs last in the value  
   1.186 -      of 'animation-name' will override the other animations at that point.
   1.187 -    </p>
   1.188 +	<p>
   1.189 +		CSS Animations affect computed property values. 
   1.190 +		During the execution of an animation, 
   1.191 +		the computed value for a property is controlled by the animation. 
   1.192 +		This overrides the value specified in the normal styling system.
   1.193 +	
   1.194  
   1.195 -    <p>
   1.196 -      An animation does not affect the computed value before the application of the animation,
   1.197 -      before the animation delay has expired, and after the end of the animation.
   1.198 -    </p>
   1.199 +	<p>
   1.200 +		If at one point in time there are multiple animations specifying behavior for the same property, 
   1.201 +		the animation whose name occurs last in the value of 'animation-name' 
   1.202 +		will override the other animations at that point.
   1.203 +	
   1.204  
   1.205 -    <div class="figure">
   1.206 -      <img src="sandwich.png" alt="">
   1.207 -    </div>
   1.208 -    <p class="caption">
   1.209 -      Computation of animated property values
   1.210 -    </p>
   1.211 +	<p>
   1.212 +		An animation does not affect the computed value before the application of the animation, 
   1.213 +		before the animation delay has expired, 
   1.214 +		and after the end of the animation.
   1.215 +	
   1.216  
   1.217 -    <p>
   1.218 -      The diagram above shows how property values are computed. The intrinsic style is shown at the
   1.219 -      top of the diagram. The computed value is derived from intrinsic style at the times when an
   1.220 -      animation is not running and also when an animation is delayed (see below for specification of
   1.221 -      animation delay). During an animation, the computed style is derived from the animated value.
   1.222 -    </p>
   1.223 +	<div class="figure">
   1.224 +		<img src="sandwich.png" alt="">
   1.225 +	
   1.226 +		<p class="caption">
   1.227 +			Computation of animated property values
   1.228 +	</div>	
   1.229  
   1.230 -    <p>
   1.231 -      The start time of an animation is the latter of two moments: the time at which the style is
   1.232 -      resolved that specifies the animation, or the time the document's load event is fired.
   1.233 -      Therefore, an animation specified in the document style sheet will begin at the document load.
   1.234 -      An animation specified on an element by modifying the style after the document has loaded will
   1.235 -      start when the style is resolved. That may be immediately in the case of a pseudo style rule
   1.236 -      such as hover, or may be when the scripting engine returns control to the browser (in the case
   1.237 -      of style applied by script).
   1.238 -    </p>
   1.239 +	<p>
   1.240 +		The diagram above shows how property values are computed. 
   1.241 +		The intrinsic style is shown at the top of the diagram. 
   1.242 +		The computed value is derived from intrinsic style 
   1.243 +		at the times when an animation is not running 
   1.244 +		and also when an animation is delayed 
   1.245 +		(see below for specification of animation delay). 
   1.246 +		During an animation, 
   1.247 +		the computed style is derived from the animated value.
   1.248 +	
   1.249  
   1.250 -    <p>
   1.251 -      An animation applies to an element if the element has a value for
   1.252 -      <code class="property">'animation-name'</code> that references a valid
   1.253 -      keyframes rule. Once an animation has started it continues until it ends
   1.254 -      or the <code class="property">'animation-name'</code> is removed. The values
   1.255 -      used for the keyframes and animation properties are snapshotted at the
   1.256 -      time the animation starts. Changing them during the execution of the
   1.257 -      animation has no effect. Note also, that changing the value of 
   1.258 -      <code class="property">'animation-name'</code> does not necessarily
   1.259 -      restart an animation (e.g., if a list of animations are applied and
   1.260 -      one is removed from the list, only that animation will stop; The other
   1.261 -      animations will continue). In order to restart an animation, it must be
   1.262 -      removed then reapplied. 
   1.263 -    </p>
   1.264 +	<p>
   1.265 +		The start time of an animation is the latter of two moments: 
   1.266 +		the time at which the style is resolved that specifies the animation, 
   1.267 +		or the time the document's load event is fired. 
   1.268 +		Therefore, an animation specified in the document style sheet 
   1.269 +		will begin at the document load. 
   1.270 +		An animation specified on an element by modifying the style after the document has loaded 
   1.271 +		will start when the style is resolved. 
   1.272 +		That may be immediately in the case of a pseudo style rule such as hover, 
   1.273 +		or may be when the scripting engine returns control to the browser 
   1.274 +		(in the case of style applied by script).
   1.275 +	
   1.276  
   1.277 -    <p>
   1.278 -      The end of the animation is defined by the combination of the
   1.279 -      <code class="property">'animation-duration'</code>,
   1.280 -      <code class="property">'animation-iteration-count'</code> and
   1.281 -      <code class="property">'animation-fill-mode'</code> properties.
   1.282 -    </p>
   1.283 -    
   1.284 -    <div class="example">
   1.285 -      <p style="display:none">
   1.286 -        Example(s):
   1.287 -      </p>
   1.288 -      <pre>
   1.289 -    div {
   1.290 -      animation-name: diagonal-slide;
   1.291 -      animation-duration: 5s;
   1.292 -      animation-iteration-count: 10;
   1.293 -    }
   1.294 +	<p>
   1.295 +		An animation applies to an element 
   1.296 +		if the element has a value for 'animation-name' that references a valid keyframes rule. 
   1.297 +		Once an animation has started 
   1.298 +		it continues until it ends 
   1.299 +		or the 'animation-name' is removed. 
   1.300 +		The values used for the keyframes and animation properties are snapshotted at the time the animation starts. 
   1.301 +		Changing them during the execution of the animation has no effect. 
   1.302 +		Note also that changing the value of 'animation-name' does not necessarily restart an animation 
   1.303 +		(e.g., if a list of animations are applied and one is removed from the list, 
   1.304 +		only that animation will stop; 
   1.305 +		The other animations will continue). 
   1.306 +		In order to restart an animation, 
   1.307 +		it must be removed then reapplied.
   1.308 +	
   1.309  
   1.310 -    @keyframes diagonal-slide {
   1.311 +	<p>
   1.312 +		The end of the animation is defined by the combination of the
   1.313 +		'animation-duration',
   1.314 +		'animation-iteration-count' and
   1.315 +		'animation-fill-mode' properties.
   1.316 +		
   1.317 +		
   1.318 +	<div class="example">
   1.319 +		<pre>
   1.320 +div {
   1.321 +	animation-name: diagonal-slide;
   1.322 +	animation-duration: 5s;
   1.323 +	animation-iteration-count: 10;
   1.324 +}
   1.325  
   1.326 -      from {
   1.327 -        left: 0;
   1.328 -        top: 0;
   1.329 -      }
   1.330 +@keyframes diagonal-slide {
   1.331  
   1.332 -      to {
   1.333 -        left: 100px;
   1.334 -        top: 100px;
   1.335 -      }
   1.336 +	from {
   1.337 +		left: 0;
   1.338 +		top: 0;
   1.339 +	}
   1.340  
   1.341 -    }
   1.342 +	to {
   1.343 +		left: 100px;
   1.344 +		top: 100px;
   1.345 +	}
   1.346  
   1.347 -    </pre>This will produce an animation that moves an element from (0, 0) to (100px, 100px) over five seconds and repeats itself nine times (for a total of ten iterations).
   1.348 -    </div>
   1.349 +}</pre>
   1.350  
   1.351 -    <h2>Keyframes</h2>
   1.352 -      <p>
   1.353 -        Keyframes are used to specify the values for the animating properties at various points
   1.354 -        during the animation. The keyframes specify the behavior of one cycle of the animation;
   1.355 -        the animation may iterate one or more times.
   1.356 -      </p>
   1.357 -      <p>
   1.358 -        Keyframes are specified using a specialized CSS at-rule. A <code
   1.359 -        class="property">@keyframes</code> rule consists of the keyword
   1.360 -        "@keyframes", followed by an identifier giving a name for the animation
   1.361 -        (which will be referenced using <code class="property">'animation-name'</code>),
   1.362 -        followed by a set of style rules (delimited by curly braces).
   1.363 -      </p>
   1.364 -      <p>
   1.365 -        The <i>keyframe selector</i> for a keyframe style rule consists of a
   1.366 -        comma-separated list of percentage values or the keywords 'from' or
   1.367 -        'to'. The selector is used to specify the percentage along the duration
   1.368 -        of the animation that the keyframe represents. The
   1.369 -        keyframe itself is specified by the block of property values declared on
   1.370 -        the selector. The keyword 'from' is equivalent to the value 0%. The
   1.371 -        keyword 'to' is equivalent to the value 100%. Note that the percentage
   1.372 -        unit specifier must be used on percentage values. Therefore, "0" is an
   1.373 -        invalid keyframe selector.
   1.374 -      </p>
   1.375 -      <p>
   1.376 -        If a 0% or "from" keyframe is not specified, then the user agent
   1.377 -        constructs a 0% keyframe using the computed values of the properties
   1.378 -        being animated. If a 100% or "to" keyframe is not specified, then the user agent
   1.379 -        constructs a 100% keyframe using the computed values of the properties
   1.380 -        being animated.
   1.381 -      </p>
   1.382 -      <p>
   1.383 -        The <i>keyframe declaration</i> for a keyframe rule consists of
   1.384 -        properties and values. Properties that are unable to be
   1.385 -        animated are ignored in these rules, with the exception of <code
   1.386 -        class="property">'animation-timing-function'</code>, the behavior 
   1.387 -        of which is described below.
   1.388 -      </p>
   1.389 -      <p class="note">
   1.390 -          NOTE: describe what happens if a property is not present in all keyframes.
   1.391 -      </p>
   1.392 -      <p>
   1.393 -        The @keyframes rule that is used by an animation will be the last one encountered in sorted rules order
   1.394 -        that matches the name of the animation specified by the <code class="property">'animation-name'</code> property.
   1.395 -        <code class="css">@keyframes</code> rules do not cascade;
   1.396 -        therefore an animation will never derive keyframes from more than one <code class="css">@keyframes</code> rule.
   1.397 -      </p>
   1.398 -      <p>
   1.399 -        To determine the set of keyframes, all of the values in the selectors are sorted in increasing order by time.
   1.400 -        If there are any duplicates, then the last keyframe specified inside the <code class="css">@keyframes</code> rule
   1.401 -        will be used to provide the keyframe information for that time. There is no cascading within a
   1.402 -        <code class="css">@keyframes</code> rule if multiple keyframes specify the same keyframe selector values.
   1.403 -      </p>
   1.404 -      <p>
   1.405 -        If property is not specified for a keyframe, or is specified but invalid, the animation of that property proceeds
   1.406 -        as if that keyframe did not exist. Conceptually, it is as if a set of keyframes is constructed for each property
   1.407 -        that is present in any of the keyframes, and an animation is run independently for each property.
   1.408 -      </p>
   1.409 -      <div class="example">
   1.410 -        <p style="display:none">
   1.411 -          Example(s):
   1.412 -        </p>
   1.413 -        <pre>
   1.414 -  @keyframes wobble {
   1.415 -    0% {
   1.416 -      left: 100px;
   1.417 -    }
   1.418 +		<p>
   1.419 +			This will produce an animation 
   1.420 +			that moves an element from (0, 0) to (100px, 100px) 
   1.421 +			over five seconds 
   1.422 +			and repeats itself nine times 
   1.423 +			(for a total of ten iterations).
   1.424 +	</div>
   1.425  
   1.426 -    40% {
   1.427 -      left: 150px;
   1.428 -    }
   1.429 +<h2 id="keyframes">
   1.430 +Keyframes</h2>
   1.431 +	<p>
   1.432 +		Keyframes are used to specify the values for the animating properties 
   1.433 +		at various points during the animation. 
   1.434 +		The keyframes specify the behavior of one cycle of the animation; 
   1.435 +		the animation may iterate one or more times.
   1.436 +	
   1.437 +	<p>
   1.438 +		Keyframes are specified using a specialized CSS at-rule. 
   1.439 +		A @keyframes rule consists of the keyword "@keyframes", 
   1.440 +		followed by an identifier giving a name for the animation 
   1.441 +		(which will be referenced using 'animation-name'), 
   1.442 +		followed by a set of style rules 
   1.443 +		(delimited by curly braces).
   1.444 +	
   1.445 +	<p>
   1.446 +		The <dfn>keyframe selector</dfn> for a keyframe style rule 
   1.447 +		consists of a comma-separated list of percentage values 
   1.448 +		or the keywords 'from' or 'to'. 
   1.449 +		The selector is used to specify the percentage along the duration of the animation that the keyframe represents. 
   1.450 +		The keyframe itself is specified by the block of property values declared on the selector. 
   1.451 +		The keyword 'from' is equivalent to the value ''0%''. 
   1.452 +		The keyword 'to' is equivalent to the value ''100%''. 
   1.453 +		<span class='note'>Note that the percentage unit specifier must be used on percentage values. 
   1.454 +			Therefore, ''0'' is an invalid keyframe selector.</span>
   1.455 +	
   1.456 +	<p>
   1.457 +		If a ''0%'' or ''from'' keyframe is not specified, 
   1.458 +		then the user agent constructs a ''0%'' keyframe 
   1.459 +		using the computed values of the properties being animated. 
   1.460 +		If a ''100%'' or ''to'' keyframe is not specified, 
   1.461 +		then the user agent constructs a ''100%'' keyframe 
   1.462 +		using the computed values of the properties being animated.
   1.463 +	
   1.464 +	<p>
   1.465 +		The <dfn>keyframe declaration</dfn> for a keyframe rule 
   1.466 +		consists of properties and values. 
   1.467 +		Properties that are unable to be animated are ignored in these rules, 
   1.468 +		with the exception of 'animation-timing-function', 
   1.469 +		the behavior of which is described below.
   1.470 +	
   1.471 +	<p class="issue">
   1.472 +		Need to describe what happens if a property is not present in all keyframes.
   1.473 +	
   1.474 +	<p>
   1.475 +		The @keyframes rule that is used by an animation 
   1.476 +		will be the last one encountered in sorted rules order 
   1.477 +		that matches the name of the animation specified by the 'animation-name' property. 
   1.478 +		@keyframes rules do not cascade; 
   1.479 +		therefore, an animation will never derive keyframes from more than one @keyframes rule.
   1.480 +			
   1.481 +	<p>
   1.482 +		To determine the set of keyframes, 
   1.483 +		all of the values in the selectors are sorted in increasing order by time. 
   1.484 +		If there are any duplicates, 
   1.485 +		then the last keyframe specified inside the @keyframes rule 
   1.486 +		will be used to provide the keyframe information for that time. 
   1.487 +		There is no cascading within a @keyframes rule if multiple keyframes specify the same keyframe selector values.
   1.488  
   1.489 -    60% {
   1.490 -      left: 75px;
   1.491 -    }
   1.492 +	<p>
   1.493 +		If property is not specified for a keyframe, 
   1.494 +		or is specified but invalid, 
   1.495 +		the animation of that property proceeds as if that keyframe did not exist. 
   1.496 +		Conceptually, 
   1.497 +		it is as if a set of keyframes is constructed for each property that is present in any of the keyframes, 
   1.498 +		and an animation is run independently for each property.
   1.499 +	
   1.500 +	<div class="example">				
   1.501 +		<pre>
   1.502 +@keyframes wobble {
   1.503 +	0% {
   1.504 +		left: 100px;
   1.505 +	}
   1.506  
   1.507 -    100% {
   1.508 -      left: 100px;
   1.509 -    }
   1.510 -  }
   1.511 +	40% {
   1.512 +		left: 150px;
   1.513 +	}
   1.514  
   1.515 -  </pre>Four keyframes are specified for the animation named "wobble". In the first keyframe, shown at the beginning of the animation cycle, the 'left' value of the animation is 100px. By 40% of the animation duration, 'left' value has animated to 150px. At 60% of the animation duration, the 'left' value has animated back to 75px. At the end of the animation cycle, the 'left' value has returned to 100px. The diagram below shows the state of the animation if it were given a duration of 10s.
   1.516 -        <div class="figure">
   1.517 -          <img src="animation1.png" alt="">
   1.518 -        </div>
   1.519 -        <p class="caption">
   1.520 -          Animations states specified by keyframes
   1.521 -        </p>
   1.522 -      </div>
   1.523 +	60% {
   1.524 +		left: 75px;
   1.525 +	}
   1.526  
   1.527 -      <p>
   1.528 -        The following is the grammar for the keyframes rule.
   1.529 -      </p>
   1.530 +	100% {
   1.531 +		left: 100px;
   1.532 +	}
   1.533 +}</pre>
   1.534  
   1.535 -      <pre>
   1.536 +		<p>
   1.537 +			Four keyframes are specified for the animation named "wobble". 
   1.538 +			In the first keyframe, 
   1.539 +			shown at the beginning of the animation cycle, 
   1.540 +			the value of the 'left' property being animated is ''100px''. 
   1.541 +			By 40% of the animation duration, 
   1.542 +			'left' has animated to ''150px''. 
   1.543 +			At 60% of the animation duration, 
   1.544 +			'left' has animated back to ''75px''. 
   1.545 +			At the end of the animation cycle, 
   1.546 +			the value of 'left' has returned to ''100px''. 
   1.547 +			The diagram below shows the state of the animation if it were given a duration of ''10s''.
   1.548 +		
   1.549 +		<div class="figure">
   1.550 +			<img src="animation1.png" alt="">
   1.551 +		
   1.552 +			<p class="caption">
   1.553 +				Animations states specified by keyframes
   1.554 +		</div>
   1.555 +	</div>
   1.556  
   1.557 -        keyframes_rule: KEYFRAMES_SYM S+ IDENT S* '{' S* keyframes_blocks '}' S*;
   1.558 +	<p>
   1.559 +		The following is the grammar for the keyframes rule.
   1.560 +			
   1.561 +	<pre>
   1.562 +keyframes_rule: KEYFRAMES_SYM S+ IDENT S* '{' S* keyframes_blocks '}' S*;
   1.563  
   1.564 -        keyframes_blocks: [ keyframe_selector '{' S* declaration? [ ';' S* declaration? ]* '}' S* ]* ;
   1.565 +keyframes_blocks: [ keyframe_selector '{' S* declaration? [ ';' S* declaration? ]* '}' S* ]* ;
   1.566  
   1.567 -        keyframe_selector: [ FROM_SYM | TO_SYM | PERCENTAGE ] S* [ ',' S* [ FROM_SYM | TO_SYM | PERCENTAGE ] S* ]*;
   1.568 +keyframe_selector: [ FROM_SYM | TO_SYM | PERCENTAGE ] S* [ ',' S* [ FROM_SYM | TO_SYM | PERCENTAGE ] S* ]*;
   1.569  
   1.570 -        @{K}{E}{Y}{F}{R}{A}{M}{E}{S}   {return KEYFRAMES_SYM;}
   1.571 -        {F}{R}{O}{M}                   {return FROM_SYM;}
   1.572 -        {T}{O}                         {return TO_SYM;}
   1.573 -      </pre>
   1.574 -      <!-- ======================================================================================================= -->
   1.575 -      <h3 id="timing-functions"><a id="timing-functions-for-keyframes-">
   1.576 -        Timing functions for keyframes
   1.577 -      </a></h3>
   1.578 -      <p>
   1.579 -        A keyframe style rule may also declare the timing function that is to be used as the animation moves to the next keyframe.
   1.580 -      </p>
   1.581 -      <div class="example">
   1.582 -        <p style="display:none">
   1.583 -          Example(s):
   1.584 -        </p>
   1.585 -        <pre>
   1.586 -  @keyframes bounce {
   1.587 +@{K}{E}{Y}{F}{R}{A}{M}{E}{S}   {return KEYFRAMES_SYM;}
   1.588 +{F}{R}{O}{M}                   {return FROM_SYM;}
   1.589 +{T}{O}                         {return TO_SYM;}</pre>
   1.590  
   1.591 -    from {
   1.592 -      top: 100px;
   1.593 -      animation-timing-function: ease-out;
   1.594 -    }
   1.595  
   1.596 -    25% {
   1.597 -      top: 50px;
   1.598 -      animation-timing-function: ease-in;
   1.599 -    }
   1.600 +<h3 id="timing-functions">
   1.601 +Timing functions for keyframes</h3>
   1.602  
   1.603 -    50% {
   1.604 -      top: 100px;
   1.605 -      animation-timing-function: ease-out;
   1.606 -    }
   1.607 +	<p>
   1.608 +		A keyframe style rule may also declare the timing function that is to be used 
   1.609 +		as the animation moves to the next keyframe.
   1.610 +			
   1.611 +	<div class="example">
   1.612 +		<pre>
   1.613 +@keyframes bounce {
   1.614  
   1.615 -    75% {
   1.616 -      top: 75px;
   1.617 -      animation-timing-function: ease-in;
   1.618 -    }
   1.619 +	from {
   1.620 +		top: 100px;
   1.621 +		animation-timing-function: ease-out;
   1.622 +	}
   1.623  
   1.624 -    to {
   1.625 -      top: 100px;
   1.626 -    }
   1.627 +	25% {
   1.628 +		top: 50px;
   1.629 +		animation-timing-function: ease-in;
   1.630 +	}
   1.631  
   1.632 -  }
   1.633 +	50% {
   1.634 +		top: 100px;
   1.635 +		animation-timing-function: ease-out;
   1.636 +	}
   1.637  
   1.638 -  </pre>Five keyframes are specified for the animation named "bounce". Between the first and second keyframe (i.e., between 0% and 25%) an "ease-out" timing function is used. Between the second and third keyframe (i.e., between 25% and 50%) an "ease-in" timing function is used. And so on. The effect will appear as an element that moves up the page 50px, slowing down as it reaches its highest point then speeding up as it falls back to 100px. The second half of the animation behaves in a similar manner, but only moves the element 25px units up the page. A timing function specified on the "to" or 100% keyframe is ignored
   1.639 -      </div>
   1.640 -      <p>
   1.641 -        See <a href="#animation-timing-function_tag">the <code class="property">'animation-timing-function'</code>
   1.642 -          property</a> for more information.
   1.643 -      </p><!-- ======================================================================================================= -->
   1.644 +	75% {
   1.645 +		top: 75px;
   1.646 +		animation-timing-function: ease-in;
   1.647 +	}
   1.648  
   1.649 -      <!-- ======================================================================================================= -->
   1.650 -      <h3 id="animation-name-property"><a id="the-animation-name-property-">
   1.651 -        The <code class="property">'animation-name'</code> Property
   1.652 -      </a></h3>
   1.653 -      <p>
   1.654 -        The <code class="property">'animation-name'</code> property defines a
   1.655 -        list of animations that apply. Each name is used to select the keyframe at-rule
   1.656 -        that provides the property values for the animation. If the name does
   1.657 -        not match any keyframe at-rule, there are no properties to be animated
   1.658 -        and the animation will not execute. Furthermore, if the animation name
   1.659 -        is 'none' then there will be no animation. This can be used to override
   1.660 -        any animations coming from the cascade. If animations are attempting to
   1.661 -        modify the same property, then the animation closest to the end of the
   1.662 -        list of names wins.
   1.663 -      </p>
   1.664 -      <p id="list-matching">
   1.665 -        Each animation listed by name should have a corresponding value
   1.666 -        for the other animation properties listed below. In the case where the
   1.667 -        lists of values for the other animation properties do not have
   1.668 -        the same length, the length of the 'animation-name' list
   1.669 -        determines the number of items in each list examined when
   1.670 -        starting transitions.  The lists are matched up from the first
   1.671 -        value: excess values at the end are not used.  If one of the
   1.672 -        other properties doesn't have enough comma-separated values to
   1.673 -        match the number of values of 'animation-name', the UA must
   1.674 -        calculate its used value by repeating the list of values until
   1.675 -        there are enough.  This truncation or repetition does not affect
   1.676 -        the computed value.
   1.677 -        <span class="note">
   1.678 -          Note: This is analogous to the behavior of the 'background-*'
   1.679 -          properties, with 'background-image' analogous to
   1.680 -          'animation-name'.
   1.681 -        </span>
   1.682 -      </p>
   1.683 +	to {
   1.684 +		top: 100px;
   1.685 +	}
   1.686  
   1.687 -      <table class="propdef">
   1.688 -        <tbody>
   1.689 -          <tr>
   1.690 -            <td>
   1.691 -              <em>Name:</em>
   1.692 -            </td>
   1.693 -            <td>
   1.694 -              <dfn id="animation-name">animation-name</dfn>
   1.695 -            </td>
   1.696 -          </tr>
   1.697 -          <tr>
   1.698 -            <td>
   1.699 -              <em>Value:</em>
   1.700 -            </td>
   1.701 -            <td>
   1.702 -              [ none | &lt;IDENT&gt; ] [, [ none | &lt;IDENT&gt; ] ]*
   1.703 -            </td>
   1.704 -          </tr>
   1.705 -          <tr>
   1.706 -            <td>
   1.707 -              <em>Initial:</em>
   1.708 -            </td>
   1.709 -            <td>
   1.710 -              none
   1.711 -            </td>
   1.712 -          </tr>
   1.713 -          <tr>
   1.714 -            <td>
   1.715 -              <em>Applies&nbsp;to:</em>
   1.716 -            </td>
   1.717 -            <td>
   1.718 -              all elements, :before and :after pseudo elements
   1.719 -            </td>
   1.720 -          </tr>
   1.721 -          <tr>
   1.722 -            <td>
   1.723 -              <em>Inherited:</em>
   1.724 -            </td>
   1.725 -            <td>
   1.726 -              no
   1.727 -            </td>
   1.728 -          </tr>
   1.729 -          <tr>
   1.730 -            <td>
   1.731 -              <em>Percentages:</em>
   1.732 -            </td>
   1.733 -            <td>
   1.734 -              N/A
   1.735 -            </td>
   1.736 -          </tr>
   1.737 -          <tr>
   1.738 -            <td>
   1.739 -              <em>Media:</em>
   1.740 -            </td>
   1.741 -            <td>
   1.742 -              visual
   1.743 -            </td>
   1.744 -          </tr>
   1.745 -          <tr>
   1.746 -            <td>
   1.747 -              <em>Computed value:</em>
   1.748 -            </td>
   1.749 -            <td>
   1.750 -              Same as specified value.
   1.751 -            </td>
   1.752 -          </tr>
   1.753 -        </tbody>
   1.754 -      </table>
   1.755 +}</pre>
   1.756  
   1.757 -      <!--
   1.758 -      <p>
   1.759 -        It is possible for elements to have multiple animations running that change the same property or properties. In this case the animations combine in a manner defined by the property. For example, animations on <code class="property">'opacity'</code> will add together and animations on <code class="property">'transform'</code> will have their transformation matrices multiplied.
   1.760 -      </p>
   1.761 -      <div class="example">
   1.762 -        <p style="display:none">
   1.763 -          Example(s):
   1.764 -        </p>
   1.765 -        <pre>
   1.766 -        @keyframes 'border-bloat' {
   1.767 -          from {
   1.768 -            border-width: 0;
   1.769 -          }
   1.770 -          to {
   1.771 -            border-width: 10px;
   1.772 -          }
   1.773 -        }
   1.774 +		<p>
   1.775 +			Five keyframes are specified for the animation named "bounce". 
   1.776 +			Between the first and second keyframe 
   1.777 +			(i.e., between 0% and 25%) 
   1.778 +			an ''ease-out'' timing function is used. 
   1.779 +			Between the second and third keyframe 
   1.780 +			(i.e., between 25% and 50%) 
   1.781 +			an ''ease-in'' timing function is used. 
   1.782 +			And so on. 
   1.783 +			The effect will appear as an element that moves up the page ''50px'', 
   1.784 +			slowing down as it reaches its highest point 
   1.785 +			then speeding up as it falls back to ''100px''. 
   1.786 +			The second half of the animation behaves in a similar manner, 
   1.787 +			but only moves the element ''25px'' up the page.
   1.788 +	</div>
   1.789 +		
   1.790 +	<p>
   1.791 +		A timing function specified on the "to" or 100% keyframe is ignored.
   1.792  
   1.793 -        @keyframes 'border-diet' {
   1.794 -          from {
   1.795 -            border-width: 4px;
   1.796 -          }
   1.797 -          to {
   1.798 -            border-width: 2px;
   1.799 -          }
   1.800 -        }
   1.801 +	<p>
   1.802 +		See the 'animation-timing-function' property for more information.
   1.803  
   1.804 -        div {
   1.805 -          animation-name: 'border-bloat', 'border-diet';
   1.806 -          animation-duration: 10s, 4s;
   1.807 -        }
   1.808 -      </pre>
   1.809 -      <p>
   1.810 -      The above example has two animations executing on the same property, <code class="property">'border-width'</code>. The animations are additive. That is, the 
   1.811 -      resulting value for the property will be the addition of the values from the
   1.812 -      two animations.
   1.813 -      </p>
   1.814 -      <p>
   1.815 -        At time '0s' the element's border will be 4px wide (0px from 'border-bloat' plus 4px from 'border-diet'). 
   1.816 -        At time '4s' the element's border will be 6px wide (4px from 'border-bloat' plus 2px from 'border-diet').
   1.817 -        At time '10s' the element's border will be 10px wide (10px from 'border-bloat' and no addition from
   1.818 -        'border-diet' as it is no longer executing).
   1.819 -      </p>
   1.820 -    </div>
   1.821 -  -->
   1.822  
   1.823 +<h3 id="animation-name-property">
   1.824 +The 'animation-name' Property</h3>
   1.825  
   1.826 -      <!-- ======================================================================================================= -->
   1.827 -      <h3 id="animation-duration-property"><a id="the-animation-duration-property-">
   1.828 -        The <code class="property">'animation-duration'</code> Property
   1.829 -      </a></h3>
   1.830 -      <p>
   1.831 -        The <code class="property">'animation-duration'</code> property defines the length of time that an animation takes to complete one cycle.
   1.832 -      </p>
   1.833 -      <table class="propdef">
   1.834 -        <tbody>
   1.835 -          <tr>
   1.836 -            <td>
   1.837 -              <em>Name:</em>
   1.838 -            </td>
   1.839 -            <td>
   1.840 -              <dfn id="animation-duration">animation-duration</dfn>
   1.841 -            </td>
   1.842 -          </tr>
   1.843 -          <tr>
   1.844 -            <td>
   1.845 -              <em>Value:</em>
   1.846 -            </td>
   1.847 -            <td>
   1.848 -              &lt;time&gt; [, &lt;time&gt;]*
   1.849 -            </td>
   1.850 -          </tr>
   1.851 -          <tr>
   1.852 -            <td>
   1.853 -              <em>Initial:</em>
   1.854 -            </td>
   1.855 -            <td>
   1.856 -              0s
   1.857 -            </td>
   1.858 -          </tr>
   1.859 -          <tr>
   1.860 -            <td>
   1.861 -              <em>Applies&nbsp;to:</em>
   1.862 -            </td>
   1.863 -            <td>
   1.864 -              all elements, :before and :after pseudo elements
   1.865 -            </td>
   1.866 -          </tr>
   1.867 -          <tr>
   1.868 -            <td>
   1.869 -              <em>Inherited:</em>
   1.870 -            </td>
   1.871 -            <td>
   1.872 -              no
   1.873 -            </td>
   1.874 -          </tr>
   1.875 -          <tr>
   1.876 -            <td>
   1.877 -              <em>Percentages:</em>
   1.878 -            </td>
   1.879 -            <td>
   1.880 -              N/A
   1.881 -            </td>
   1.882 -          </tr>
   1.883 -          <tr>
   1.884 -            <td>
   1.885 -              <em>Media:</em>
   1.886 -            </td>
   1.887 -            <td>
   1.888 -              visual
   1.889 -            </td>
   1.890 -          </tr>
   1.891 -          <tr>
   1.892 -            <td>
   1.893 -              <em>Computed value:</em>
   1.894 -            </td>
   1.895 -            <td>
   1.896 -              Same as specified value.
   1.897 -            </td>
   1.898 -          </tr>
   1.899 -        </tbody>
   1.900 -      </table>
   1.901 +	<p>
   1.902 +		The 'animation-name' property defines a list of animations that apply. 
   1.903 +		Each name is used to select the keyframe at-rule 
   1.904 +		that provides the property values for the animation. 
   1.905 +		If the name does not match any keyframe at-rule, 
   1.906 +		there are no properties to be animated 
   1.907 +		and the animation will not execute. 
   1.908 +		Furthermore, 
   1.909 +		if the animation name is ''none'' 
   1.910 +		then there will be no animation. 
   1.911 +		This can be used to override any animations coming from the cascade. 
   1.912 +		If multiple animations are attempting to modify the same property, 
   1.913 +		then the animation closest to the end of the list of names wins.
   1.914 +	
   1.915 +	<p id="list-matching">
   1.916 +		Each animation listed by name 
   1.917 +		should have a corresponding value for the other animation properties listed below. 
   1.918 +		If the lists of values for the other animation properties do not have the same length, 
   1.919 +		the length of the 'animation-name' list 
   1.920 +		determines the number of items in each list examined when starting transitions.  
   1.921 +		The lists are matched up from the first value: 
   1.922 +		excess values at the end are not used.  
   1.923 +		If one of the other properties doesn't have enough comma-separated values to match the number of values of 'animation-name', 
   1.924 +		the UA must calculate its used value by repeating the list of values until there are enough.  
   1.925 +		This truncation or repetition does not affect the computed value.
   1.926 +		<span class="note">Note: This is analogous to the behavior of the 'background-*'properties, 
   1.927 +			with 'background-image' analogous to 'animation-name'.</span>
   1.928 +			
   1.929  
   1.930 -      <p>
   1.931 -        By default the value is '0s', meaning that the animation cycle is
   1.932 -        immediate. A negative value for <code
   1.933 -        class="property">'animation-duration'</code> is treated as '0s'. In this
   1.934 -        case <code class="property">'animation-fill-mode'</code> still applies,
   1.935 -        so an animation that fills backwards will show the value of the 0%
   1.936 -        keyframe during any delay period, and an animation that fill forwards
   1.937 -        will retain the value specified at the 100% keyframe, even if the
   1.938 -        animation was instantaneous. Also, animation events are still fired.
   1.939 -      </p>
   1.940 +	<table class=propdef>
   1.941 +		<tr>
   1.942 +			<th>Name:</th>
   1.943 +			<td><dfn>animation-name</dfn>
   1.944 +		<tr>
   1.945 +			<th><a href="#values">Value</a>:
   1.946 +			<td>[ none | &lt;user-ident> ]#
   1.947 +		<tr>
   1.948 +			<th>Initial:
   1.949 +			<td>''none''
   1.950 +		<tr>
   1.951 +			<th>Applies To:
   1.952 +			<td>all elements
   1.953 +		<tr>
   1.954 +			<th>Inherited:
   1.955 +			<td>no
   1.956 +		<tr>
   1.957 +			<th>Computed Value:
   1.958 +			<td>As specified
   1.959 +		<tr>
   1.960 +			<th>Media:
   1.961 +			<td>visual
   1.962 +		<tr>
   1.963 +			<th>Animatable:
   1.964 +			<td>no
   1.965 +		<tr>
   1.966 +			<th>Canonical Order:
   1.967 +			<td><abbr title="follows order of property value definition">per grammar</abbr>
   1.968 +	</table>
   1.969  
   1.970 -      <!-- ======================================================================================================= -->
   1.971 -      <h3 id="animation-timing-function-property"><a id="animation-timing-function_tag">
   1.972 -        The <code class="property">'animation-timing-function'</code> Property
   1.973 -      </a></h3>
   1.974 -      <p>
   1.975 -        The <code class="property">'animation-timing-function'</code> property describes how the animation will progress over one cycle of its duration. See the <code class="property">'transition-timing-function'</code> property [[!CSS3-TRANSITIONS]] for a complete description of timing function calculation.
   1.976 -      </p>
   1.977 -      <table class="propdef">
   1.978 -        <tbody>
   1.979 -          <tr>
   1.980 -            <td>
   1.981 -              <em>Name:</em>
   1.982 -            </td>
   1.983 -            <td>
   1.984 -              <dfn id="animation-timing-function">animation-timing-function</dfn>
   1.985 -            </td>
   1.986 -          </tr>
   1.987 -          <tr>
   1.988 -            <td>
   1.989 -              <em>Value:</em>
   1.990 -            </td>
   1.991 -            <td>
   1.992 -              [ ease | linear | ease-in | ease-out | ease-in-out | step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;) ] [, [ ease | linear | ease-in | ease-out | ease-in-out | step-start | step-end | steps(&lt;number&gt;[, [ start | end ] ]?) | cubic-bezier(&lt;number&gt;, &lt;number&gt;, &lt;number&gt;, &lt;number&gt;)] ]*
   1.993 -            </td>
   1.994 -          </tr>
   1.995 -          <tr>
   1.996 -            <td>
   1.997 -              <em>Initial:</em>
   1.998 -            </td>
   1.999 -            <td>
  1.1000 -              ease
  1.1001 -            </td>
  1.1002 -          </tr>
  1.1003 -          <tr>
  1.1004 -            <td>
  1.1005 -              <em>Applies&nbsp;to:</em>
  1.1006 -            </td>
  1.1007 -            <td>
  1.1008 -              all elements, :before and :after pseudo elements
  1.1009 -            </td>
  1.1010 -          </tr>
  1.1011 -          <tr>
  1.1012 -            <td>
  1.1013 -              <em>Inherited:</em>
  1.1014 -            </td>
  1.1015 -            <td>
  1.1016 -              no
  1.1017 -            </td>
  1.1018 -          </tr>
  1.1019 -          <tr>
  1.1020 -            <td>
  1.1021 -              <em>Percentages:</em>
  1.1022 -            </td>
  1.1023 -            <td>
  1.1024 -              N/A
  1.1025 -            </td>
  1.1026 -          </tr>
  1.1027 -          <tr>
  1.1028 -            <td>
  1.1029 -              <em>Media:</em>
  1.1030 -            </td>
  1.1031 -            <td>
  1.1032 -              visual
  1.1033 -            </td>
  1.1034 -          </tr>
  1.1035 -          <tr>
  1.1036 -            <td>
  1.1037 -              <em>Computed value:</em>
  1.1038 -            </td>
  1.1039 -            <td>
  1.1040 -              Same as specified value.
  1.1041 -            </td>
  1.1042 -          </tr>
  1.1043 -        </tbody>
  1.1044 -      </table>
  1.1045 +			<!--
  1.1046 +			<p>
  1.1047 +				It is possible for elements to have multiple animations running that change the same property or properties. In this case the animations combine in a manner defined by the property. For example, animations on 'opacity' will add together and animations on 'transform' will have their transformation matrices multiplied.
  1.1048 +			
  1.1049 +			<div class="example">
  1.1050 +				<p style="display:none">
  1.1051 +					Example(s):
  1.1052 +				
  1.1053 +				<pre>
  1.1054 +				@keyframes 'border-bloat' {
  1.1055 +					from {
  1.1056 +						border-width: 0;
  1.1057 +					}
  1.1058 +					to {
  1.1059 +						border-width: 10px;
  1.1060 +					}
  1.1061 +				}
  1.1062  
  1.1063 -      <p>
  1.1064 -        For a keyframed animation, the <code class="property">'animation-timing-function'</code> applies
  1.1065 -        between keyframes, not over the entire animation. For example, in the case of an ease-in-out timing function, an animation will ease in at the start of the keyframe and ease out at the end of the keyframe. A <code class="property">'animation-timing-function'</code> defined within a keyframe block applies to that keyframe, otherwise the timing function specified for the animation is used.
  1.1066 -      </p>
  1.1067 +				@keyframes 'border-diet' {
  1.1068 +					from {
  1.1069 +						border-width: 4px;
  1.1070 +					}
  1.1071 +					to {
  1.1072 +						border-width: 2px;
  1.1073 +					}
  1.1074 +				}
  1.1075  
  1.1076 -      <!-- ======================================================================================================= -->
  1.1077 -      <h3 id="animation-iteration-count-property"><a id="the-animation-iteration-count-property-">
  1.1078 -        The <code class="property">'animation-iteration-count'</code> Property
  1.1079 -      </a></h3>
  1.1080 -      <p>
  1.1081 -        The <code class="property">'animation-iteration-count'</code> property defines the number of times
  1.1082 -        an animation cycle is played. The default value is one, meaning the animation will play from
  1.1083 -        beginning to end once. A value of <code class="css">'infinite'</code> will cause the animation to
  1.1084 -        repeat forever. Non-integer numbers will cause the animation to end part-way through a cycle.
  1.1085 -        Negative values of <code class="property">'animation-iteration-count'</code> are invalid.
  1.1086 -        This property is often used with an <code class="property">'animation-direction'</code> value of
  1.1087 -        <code class="css">alternate</code>, which will cause the animation to play in reverse on alternate cycles.
  1.1088 -      </p>
  1.1089 -      <table class="propdef">
  1.1090 -        <tbody>
  1.1091 -          <tr>
  1.1092 -            <td>
  1.1093 -              <em>Name:</em>
  1.1094 -            </td>
  1.1095 -            <td>
  1.1096 -              <dfn id="animation-iteration-count">animation-iteration-count</dfn>
  1.1097 -            </td>
  1.1098 -          </tr>
  1.1099 -          <tr>
  1.1100 -            <td>
  1.1101 -              <em>Value:</em>
  1.1102 -            </td>
  1.1103 -            <td>
  1.1104 -              [ infinite | &lt;number&gt; ] [, [ infinite | &lt;number&gt; ] ]*
  1.1105 -            </td>
  1.1106 -          </tr>
  1.1107 -          <tr>
  1.1108 -            <td>
  1.1109 -              <em>Initial:</em>
  1.1110 -            </td>
  1.1111 -            <td>
  1.1112 -              1
  1.1113 -            </td>
  1.1114 -          </tr>
  1.1115 -          <tr>
  1.1116 -            <td>
  1.1117 -              <em>Applies&nbsp;to:</em>
  1.1118 -            </td>
  1.1119 -            <td>
  1.1120 -              all elements, :before and :after pseudo elements
  1.1121 -            </td>
  1.1122 -          </tr>
  1.1123 -          <tr>
  1.1124 -            <td>
  1.1125 -              <em>Inherited:</em>
  1.1126 -            </td>
  1.1127 -            <td>
  1.1128 -              no
  1.1129 -            </td>
  1.1130 -          </tr>
  1.1131 -          <tr>
  1.1132 -            <td>
  1.1133 -              <em>Percentages:</em>
  1.1134 -            </td>
  1.1135 -            <td>
  1.1136 -              N/A
  1.1137 -            </td>
  1.1138 -          </tr>
  1.1139 -          <tr>
  1.1140 -            <td>
  1.1141 -              <em>Media:</em>
  1.1142 -            </td>
  1.1143 -            <td>
  1.1144 -              visual
  1.1145 -            </td>
  1.1146 -          </tr>
  1.1147 -          <tr>
  1.1148 -            <td>
  1.1149 -              <em>Computed value:</em>
  1.1150 -            </td>
  1.1151 -            <td>
  1.1152 -              Same as specified value.
  1.1153 -            </td>
  1.1154 -          </tr>
  1.1155 -        </tbody>
  1.1156 -      </table><!-- ======================================================================================================= -->
  1.1157 -      <h3 id="animation-direction-property"><a id="the-animation-direction-property-">
  1.1158 -        The <code class="property">'animation-direction'</code> Property
  1.1159 -      </a></h3>
  1.1160 -      <p>
  1.1161 -        The <code class="property">'animation-direction'</code> property defines whether or not the animation should play in reverse on some or all cycles.  When an animation is played in reverse the timing functions are also reversed. For example, when played in reverse an ease-in animation would appear to be an ease-out animation.
  1.1162 -      </p>
  1.1163 -      <table class="propdef">
  1.1164 -        <tbody>
  1.1165 -          <tr>
  1.1166 -            <td>
  1.1167 -              <em>Name:</em>
  1.1168 -            </td>
  1.1169 -            <td>
  1.1170 -              <dfn id="animation-direction">animation-direction</dfn>
  1.1171 -            </td>
  1.1172 -          </tr>
  1.1173 -          <tr>
  1.1174 -            <td>
  1.1175 -              <em>Value:</em>
  1.1176 -            </td>
  1.1177 -            <td>
  1.1178 -              [ normal | reverse | alternate | alternate-reverse ] [, [ normal | reverse | alternate | alternate-reverse ] ]*
  1.1179 -            </td>
  1.1180 -          </tr>
  1.1181 -          <tr>
  1.1182 -            <td>
  1.1183 -              <em>Initial:</em>
  1.1184 -            </td>
  1.1185 -            <td>
  1.1186 -              normal
  1.1187 -            </td>
  1.1188 -          </tr>
  1.1189 -          <tr>
  1.1190 -            <td>
  1.1191 -              <em>Applies&nbsp;to:</em>
  1.1192 -            </td>
  1.1193 -            <td>
  1.1194 -              all elements, :before and :after pseudo elements
  1.1195 -            </td>
  1.1196 -          </tr>
  1.1197 -          <tr>
  1.1198 -            <td>
  1.1199 -              <em>Inherited:</em>
  1.1200 -            </td>
  1.1201 -            <td>
  1.1202 -              no
  1.1203 -            </td>
  1.1204 -          </tr>
  1.1205 -          <tr>
  1.1206 -            <td>
  1.1207 -              <em>Percentages:</em>
  1.1208 -            </td>
  1.1209 -            <td>
  1.1210 -              N/A
  1.1211 -            </td>
  1.1212 -          </tr>
  1.1213 -          <tr>
  1.1214 -            <td>
  1.1215 -              <em>Media:</em>
  1.1216 -            </td>
  1.1217 -            <td>
  1.1218 -              visual
  1.1219 -            </td>
  1.1220 -          </tr>
  1.1221 -          <tr>
  1.1222 -            <td>
  1.1223 -              <em>Computed value:</em>
  1.1224 -            </td>
  1.1225 -            <td>
  1.1226 -              Same as specified value.
  1.1227 -            </td>
  1.1228 -          </tr>
  1.1229 -        </tbody>
  1.1230 -      </table>
  1.1231 -      <dl>
  1.1232 -        <dt>normal</dt>
  1.1233 -          <dd>All iterations of the animation are played as specified.</dd>
  1.1234 -        <dt>reverse</dt>
  1.1235 -          <dd>All iterations of the animation are played in the reverse direction from the way they were specified.</dd>
  1.1236 -        <dt>alternate</dt>
  1.1237 -          <dd>The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.</dd>
  1.1238 -        <dt>alternate-reverse</dt>
  1.1239 -          <dd>The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.</dd>
  1.1240 -      </dl>
  1.1241 -      <!-- ======================================================================================================= -->
  1.1242 -      <h3 id="animation-play-state-property"><span id="the-animation-play-state-property-">
  1.1243 -        The <code class="property">'animation-play-state'</code> Property
  1.1244 -      </a></h3>
  1.1245 +				div {
  1.1246 +					animation-name: 'border-bloat', 'border-diet';
  1.1247 +					animation-duration: 10s, 4s;
  1.1248 +				}
  1.1249 +			</pre>
  1.1250 +			<p>
  1.1251 +			The above example has two animations executing on the same property, 'border-width'. The animations are additive. That is, the 
  1.1252 +			resulting value for the property will be the addition of the values from the
  1.1253 +			two animations.
  1.1254 +			
  1.1255 +			<p>
  1.1256 +				At time '0s' the element's border will be 4px wide (0px from 'border-bloat' plus 4px from 'border-diet'). 
  1.1257 +				At time '4s' the element's border will be 6px wide (4px from 'border-bloat' plus 2px from 'border-diet').
  1.1258 +				At time '10s' the element's border will be 10px wide (10px from 'border-bloat' and no addition from
  1.1259 +				'border-diet' as it is no longer executing).
  1.1260 +			
  1.1261 +		</div>
  1.1262 +	-->
  1.1263  
  1.1264 -      <p>
  1.1265 -        The <code class="property">'animation-play-state'</code> property defines whether the animation is running or paused. A running animation can be paused by setting this property to <code class="css">'paused'</code>. To continue running a paused animation this property can be set to <code class="css">'running'</code>. A paused animation will continue to display the current value of the animation in a static state, as if the time of the animation is constant. When a paused animation is resumed, it restarts from the current value, not necessarily from the beginning of the animation.
  1.1266 -      </p>
  1.1267 -      <table class="propdef">
  1.1268 -        <tbody>
  1.1269 -          <tr>
  1.1270 -            <td>
  1.1271 -              <em>Name:</em>
  1.1272 -            </td>
  1.1273 -            <td>
  1.1274 -              <dfn id="animation-play-state">animation-play-state</dfn>
  1.1275 -            </td>
  1.1276 -          </tr>
  1.1277 -          <tr>
  1.1278 -            <td>
  1.1279 -              <em>Value:</em>
  1.1280 -            </td>
  1.1281 -            <td>
  1.1282 -              [ running | paused ] [, [ running | paused ] ]*
  1.1283 -            </td>
  1.1284 -          </tr>
  1.1285 -          <tr>
  1.1286 -            <td>
  1.1287 -              <em>Initial:</em>
  1.1288 -            </td>
  1.1289 -            <td>
  1.1290 -              running
  1.1291 -            </td>
  1.1292 -          </tr>
  1.1293 -          <tr>
  1.1294 -            <td>
  1.1295 -              <em>Applies&nbsp;to:</em>
  1.1296 -            </td>
  1.1297 -            <td>
  1.1298 -              all elements, :before and :after pseudo elements
  1.1299 -            </td>
  1.1300 -          </tr>
  1.1301 -          <tr>
  1.1302 -            <td>
  1.1303 -              <em>Inherited:</em>
  1.1304 -            </td>
  1.1305 -            <td>
  1.1306 -              no
  1.1307 -            </td>
  1.1308 -          </tr>
  1.1309 -          <tr>
  1.1310 -            <td>
  1.1311 -              <em>Percentages:</em>
  1.1312 -            </td>
  1.1313 -            <td>
  1.1314 -              N/A
  1.1315 -            </td>
  1.1316 -          </tr>
  1.1317 -          <tr>
  1.1318 -            <td>
  1.1319 -              <em>Media:</em>
  1.1320 -            </td>
  1.1321 -            <td>
  1.1322 -              visual
  1.1323 -            </td>
  1.1324 -          </tr>
  1.1325 -          <tr>
  1.1326 -            <td>
  1.1327 -              <em>Computed value:</em>
  1.1328 -            </td>
  1.1329 -            <td>
  1.1330 -              Same as specified value.
  1.1331 -            </td>
  1.1332 -          </tr>
  1.1333 -        </tbody>
  1.1334 -      </table><!-- ======================================================================================================= -->
  1.1335 -      <h3 id="animation-delay-property"><a id="the-animation-delay-property-">
  1.1336 -        The <code class="property">'animation-delay'</code> Property
  1.1337 -      </a></h3>
  1.1338 -      <p>
  1.1339 -        The <code class="property">'animation-delay'</code> property defines
  1.1340 -        when the animation will start. It allows an animation to begin
  1.1341 -        execution some time after it is applied. An <code
  1.1342 -        class="property">'animation-delay'</code> value of '0s' means the
  1.1343 -        animation will execute as soon as it is applied. Otherwise, the value
  1.1344 -        specifies an offset from the moment the animation is applied, and the
  1.1345 -        animation will delay execution by that offset.
  1.1346 -      </p>
  1.1347 -      <p>
  1.1348 -        If the value for <code class="property">'animation-delay'</code> is a
  1.1349 -        negative time offset then the animation will execute the moment it is
  1.1350 -        applied, but will appear to have begun execution at the specified
  1.1351 -        offset. That is, the animation will appear to begin part-way through
  1.1352 -        its play cycle. In the case where an animation has implied starting
  1.1353 -        values and a negative <code class="property">'animation-delay'</code>,
  1.1354 -        the starting values are taken from the moment the animation is applied.
  1.1355 -      </p>
  1.1356 -      <table class="propdef">
  1.1357 -        <tbody>
  1.1358 -          <tr>
  1.1359 -            <td>
  1.1360 -              <em>Name:</em>
  1.1361 -            </td>
  1.1362 -            <td>
  1.1363 -              <dfn id="animation-delay">animation-delay</dfn>
  1.1364 -            </td>
  1.1365 -          </tr>
  1.1366 -          <tr>
  1.1367 -            <td>
  1.1368 -              <em>Value:</em>
  1.1369 -            </td>
  1.1370 -            <td>
  1.1371 -              &lt;time&gt; [, &lt;time&gt;]*
  1.1372 -            </td>
  1.1373 -          </tr>
  1.1374 -          <tr>
  1.1375 -            <td>
  1.1376 -              <em>Initial:</em>
  1.1377 -            </td>
  1.1378 -            <td>
  1.1379 -              0s
  1.1380 -            </td>
  1.1381 -          </tr>
  1.1382 -          <tr>
  1.1383 -            <td>
  1.1384 -              <em>Applies&nbsp;to:</em>
  1.1385 -            </td>
  1.1386 -            <td>
  1.1387 -              all elements, :before and :after pseudo elements
  1.1388 -            </td>
  1.1389 -          </tr>
  1.1390 -          <tr>
  1.1391 -            <td>
  1.1392 -              <em>Inherited:</em>
  1.1393 -            </td>
  1.1394 -            <td>
  1.1395 -              no
  1.1396 -            </td>
  1.1397 -          </tr>
  1.1398 -          <tr>
  1.1399 -            <td>
  1.1400 -              <em>Percentages:</em>
  1.1401 -            </td>
  1.1402 -            <td>
  1.1403 -              N/A
  1.1404 -            </td>
  1.1405 -          </tr>
  1.1406 -          <tr>
  1.1407 -            <td>
  1.1408 -              <em>Media:</em>
  1.1409 -            </td>
  1.1410 -            <td>
  1.1411 -              visual
  1.1412 -            </td>
  1.1413 -          </tr>
  1.1414 -          <tr>
  1.1415 -            <td>
  1.1416 -              <em>Computed value:</em>
  1.1417 -            </td>
  1.1418 -            <td>
  1.1419 -              Same as specified value.
  1.1420 -            </td>
  1.1421 -          </tr>
  1.1422 -        </tbody>
  1.1423 -      </table><!-- ======================================================================================================= -->
  1.1424 -      <h3 id="animation-fill-mode-property"><a id="the-animation-fill-mode-property-">
  1.1425 -        The <code class="property">'animation-fill-mode'</code> Property
  1.1426 -      </a></h3>
  1.1427 -      <p>
  1.1428 -        The <code class="property">'animation-fill-mode'</code> property defines
  1.1429 -        what values are applied by the animation outside the time it is executing.
  1.1430 -        By default, an animation will not affect property values between the
  1.1431 -        time it is applied (the <code class="property">'animation-name'</code> property is
  1.1432 -        set on an element) and the time it begins execution (which is determined by
  1.1433 -        the <code class="property">'animation-delay'</code> property). Also, by
  1.1434 -        default an animation does not affect property values after the animation
  1.1435 -        ends (determined by the <code class="property">'animation-duration'</code> property).
  1.1436 -        The value of <code class="property">'animation-fill-mode'</code> can
  1.1437 -        override this behavior.
  1.1438 -      </p>
  1.1439 -      <p>
  1.1440 -        If the value for <code class="property">'animation-fill-mode'</code> is
  1.1441 -        <code class="css">'backwards'</code>, then the animation will
  1.1442 -        apply the property values defined in its 0% or 'from' keyframe as soon
  1.1443 -        as the animation is applied, during the period defined by
  1.1444 -        <code class="property">'animation-delay'</code>.
  1.1445 -      </p>
  1.1446 -      <p>
  1.1447 -        If the value for <code class="property">'animation-fill-mode'</code>
  1.1448 -        is <code class="css">'forwards'</code>, then the animation will
  1.1449 -        apply the property values defined in its last executing keyframe after
  1.1450 -        the final iteration of the animation, until the animation style is
  1.1451 -        removed. The last executing keyframe is the 'to' or '100%' keyframe,
  1.1452 -        unless the animation has <code
  1.1453 -        class="property">'animation-direction'</code> set to <code
  1.1454 -        class="css">'alternate'</code> and both a finite and even
  1.1455 -        iteration count, in which case it is the 'from' or '0%' keyframe.
  1.1456 -      </p>
  1.1457 -      <p>
  1.1458 -        If the value for <code class="property">'animation-fill-mode'</code>
  1.1459 -        is <code class="css">'both'</code>, then the animation will
  1.1460 -        follow the rules for both 'forwards' and 'backwards'. That is, it will
  1.1461 -        extend the animation properties in both directions.
  1.1462 -      </p>
  1.1463 -      <table class="propdef">
  1.1464 -        <tbody>
  1.1465 -          <tr>
  1.1466 -            <td>
  1.1467 -              <em>Name:</em>
  1.1468 -            </td>
  1.1469 -            <td>
  1.1470 -              <dfn id="animation-fill-mode">animation-fill-mode</dfn>
  1.1471 -            </td>
  1.1472 -          </tr>
  1.1473 -          <tr>
  1.1474 -            <td>
  1.1475 -              <em>Value:</em>
  1.1476 -            </td>
  1.1477 -            <td>
  1.1478 -              [ none | forwards | backwards | both ] [, [ none | forwards | backwards | both ] ]*
  1.1479 -            </td>
  1.1480 -          </tr>
  1.1481 -          <tr>
  1.1482 -            <td>
  1.1483 -              <em>Initial:</em>
  1.1484 -            </td>
  1.1485 -            <td>
  1.1486 -              none
  1.1487 -            </td>
  1.1488 -          </tr>
  1.1489 -          <tr>
  1.1490 -            <td>
  1.1491 -              <em>Applies&nbsp;to:</em>
  1.1492 -            </td>
  1.1493 -            <td>
  1.1494 -              all elements, :before and :after pseudo elements
  1.1495 -            </td>
  1.1496 -          </tr>
  1.1497 -          <tr>
  1.1498 -            <td>
  1.1499 -              <em>Inherited:</em>
  1.1500 -            </td>
  1.1501 -            <td>
  1.1502 -              no
  1.1503 -            </td>
  1.1504 -          </tr>
  1.1505 -          <tr>
  1.1506 -            <td>
  1.1507 -              <em>Percentages:</em>
  1.1508 -            </td>
  1.1509 -            <td>
  1.1510 -              N/A
  1.1511 -            </td>
  1.1512 -          </tr>
  1.1513 -          <tr>
  1.1514 -            <td>
  1.1515 -              <em>Media:</em>
  1.1516 -            </td>
  1.1517 -            <td>
  1.1518 -              visual
  1.1519 -            </td>
  1.1520 -          </tr>
  1.1521 -          <tr>
  1.1522 -            <td>
  1.1523 -              <em>Computed value:</em>
  1.1524 -            </td>
  1.1525 -            <td>
  1.1526 -              Same as specified value.
  1.1527 -            </td>
  1.1528 -          </tr>
  1.1529 -        </tbody>
  1.1530 -      </table><!-- ======================================================================================================= -->
  1.1531 -      <h3 id="animation-shorthand-property"><a id="the-animation-shorthand-property-">
  1.1532 -        The <code class="property">'animation'</code> Shorthand Property
  1.1533 -      </a></h3>
  1.1534 -      <p>
  1.1535 -        The <code class="property">'animation'</code> shorthand property
  1.1536 -        combines seven of the animation properties into a single property.
  1.1537 -      </p>
  1.1538 -      <p>
  1.1539 -        Note that order is important in this property. The first value that can be
  1.1540 -        parsed as a time is assigned to the animation-duration. The second value that
  1.1541 -        can be parsed as a time is assigned to animation-delay.
  1.1542 -      </p>
  1.1543 -      <p class="issue">
  1.1544 -        An alternative proposal is to accept the font shorthand approach of
  1.1545 -        using a "/" character between the values of the same type. e.g. 2s/4s would
  1.1546 -        mean a duration of 2 seconds and a delay of 4 seconds.
  1.1547 -      </p>
  1.1548 -      <table class="propdef">
  1.1549 -        <tbody>
  1.1550 -          <tr>
  1.1551 -            <td>
  1.1552 -              <em>Name:</em>
  1.1553 -            </td>
  1.1554 -            <td>
  1.1555 -              <dfn id="animation">animation</dfn>
  1.1556 -            </td>
  1.1557 -          </tr>
  1.1558 -          <tr>
  1.1559 -            <td>
  1.1560 -              <em>Value:</em>
  1.1561 -            </td>
  1.1562 -            <td>
  1.1563 -              [&lt;'animation-name'&gt; || 
  1.1564 -              &lt;'animation-duration'&gt; ||
  1.1565 -              &lt;'animation-timing-function'&gt; ||
  1.1566 -              &lt;'animation-delay'&gt; ||
  1.1567 -              &lt;'animation-iteration-count'&gt; ||
  1.1568 -              &lt;'animation-direction'&gt; ||
  1.1569 -              &lt;'animation-fill-mode'&gt;]
  1.1570 -              [, [&lt;'animation-name'&gt; ||
  1.1571 -              &lt;'animation-duration'&gt; ||
  1.1572 -              &lt;'animation-timing-function'&gt; ||
  1.1573 -              &lt;'animation-delay'&gt; ||
  1.1574 -              &lt;'animation-iteration-count'&gt; ||
  1.1575 -              &lt;'animation-direction'&gt; ||
  1.1576 -              &lt;'animation-fill-mode'&gt;] ]*
  1.1577 -            </td>
  1.1578 -          </tr>
  1.1579 -          <tr>
  1.1580 -            <td>
  1.1581 -              <em>Initial:</em>
  1.1582 -            </td>
  1.1583 -            <td>
  1.1584 -              see individual properties
  1.1585 -            </td>
  1.1586 -          </tr>
  1.1587 -          <tr>
  1.1588 -            <td>
  1.1589 -              <em>Applies&nbsp;to:</em>
  1.1590 -            </td>
  1.1591 -            <td>
  1.1592 -              all elements, :before and :after pseudo elements
  1.1593 -            </td>
  1.1594 -          </tr>
  1.1595 -          <tr>
  1.1596 -            <td>
  1.1597 -              <em>Inherited:</em>
  1.1598 -            </td>
  1.1599 -            <td>
  1.1600 -              no
  1.1601 -            </td>
  1.1602 -          </tr>
  1.1603 -          <tr>
  1.1604 -            <td>
  1.1605 -              <em>Percentages:</em>
  1.1606 -            </td>
  1.1607 -            <td>
  1.1608 -              N/A
  1.1609 -            </td>
  1.1610 -          </tr>
  1.1611 -          <tr>
  1.1612 -            <td>
  1.1613 -              <em>Media:</em>
  1.1614 -            </td>
  1.1615 -            <td>
  1.1616 -              visual
  1.1617 -            </td>
  1.1618 -          </tr>
  1.1619 -          <tr>
  1.1620 -            <td>
  1.1621 -              <em>Computed value:</em>
  1.1622 -            </td>
  1.1623 -            <td>
  1.1624 -              Same as specified value.
  1.1625 -            </td>
  1.1626 -          </tr>
  1.1627 -        </tbody>
  1.1628 -      </table><!-- ======================================================================================================= -->
  1.1629 -      <h2 id="animation-events"><a id="animation-events-">
  1.1630 -        Animation Events
  1.1631 -      </a></h2>
  1.1632 -      <p>
  1.1633 -        Several animation related events are available through the <a
  1.1634 -        href="http://www.w3.org/TR/DOM-Level-2-Events/events.html">DOM Event
  1.1635 -        system</a>. The start and end of an animation, and the end of each
  1.1636 -        iteration of an animation all generate DOM events. An element can have
  1.1637 -        multiple properties being animated simultaneously. This can occur either
  1.1638 -        with a single <code class="property">animation-name</code> value with
  1.1639 -        keyframes containing multiple properties, or with multiple <code
  1.1640 -        class="property">animation-name</code> values. For the purposes of
  1.1641 -        events, each <code class="property">animation-name</code> specifies a
  1.1642 -        single animation. Therefore an event will be generated for each <code
  1.1643 -        class="property">animation-name</code> value and not necessarily for
  1.1644 -        each property being animated.
  1.1645 -      </p>
  1.1646 -      <p>
  1.1647 -        The time the animation has been running is sent with each event
  1.1648 -        generated. This allows the event handler to determine the current
  1.1649 -        iteration of a looping animation or the current position of an
  1.1650 -        alternating animation. This time does not include any time the animation
  1.1651 -        was in the <code>paused</code> play state.
  1.1652 -      </p>
  1.1653 -      <dl>
  1.1654 -        <dt>
  1.1655 -          <b>Interface <i><a id="Events-AnimationEvent" name='Events-AnimationEvent'>AnimationEvent</a></i></b>
  1.1656 -        </dt>
  1.1657 -        <dd>
  1.1658 -          <p>
  1.1659 -            The <code>AnimationEvent</code> interface provides specific contextual information associated with Animation events.
  1.1660 -          </p>
  1.1661 -          <dl>
  1.1662 -            <dt>
  1.1663 -              <br>
  1.1664 -              <b>IDL Definition</b>
  1.1665 -            </dt>
  1.1666 -            <dd>
  1.1667 -              <div class='idl-code'>
  1.1668 -                <pre>
  1.1669 -  interface AnimationEvent : Event {
  1.1670 -    readonly attribute DOMString          animationName;
  1.1671 -    readonly attribute float              elapsedTime;
  1.1672 -    void               initAnimationEvent(in DOMString typeArg, 
  1.1673 -                                          in boolean canBubbleArg, 
  1.1674 -                                          in boolean cancelableArg, 
  1.1675 -                                          in DOMString animationNameArg,
  1.1676 -                                          in float elapsedTimeArg);
  1.1677 -  };
  1.1678 -  </pre>
  1.1679 -              </div>
  1.1680 -            </dd>
  1.1681 -            <dt>
  1.1682 -              <b>Attributes</b>
  1.1683 -            </dt>
  1.1684 -            <dd>
  1.1685 -              <dl>
  1.1686 -                <dt>
  1.1687 -                  <code class='attribute-name'><a id="Events-AnimationEvent-animationName" name='Events-AnimationEvent-animationName'>animationName</a></code> of type <code>DOMString</code>, readonly
  1.1688 -                </dt>
  1.1689 -                <dd>
  1.1690 -                  The value of the <code class="property">animation-name</code> property of the
  1.1691 -                  animation that fired the event.
  1.1692 -                </dd>
  1.1693 -              </dl>
  1.1694 -              <dl>
  1.1695 -                <dt>
  1.1696 -                  <code class='attribute-name'><a id="Events-AnimationEvent-elapsedTime" name='Events-AnimationEvent-elapsedTime'>elapsedTime</a></code> of type <code>float</code>, readonly
  1.1697 -                </dt>
  1.1698 -                <dd>
  1.1699 -                  The amount of time the animation has been running, in
  1.1700 -                  seconds, when this event fired, excluding any time the
  1.1701 -                  animation was paused. For an "animationstart" event, the
  1.1702 -                  elapsedTime is zero unless there was a negative value for
  1.1703 -                  <code class="property">animation-delay</code>, in which
  1.1704 -                  case the event will be fired with an elapsedTime of (-1 *
  1.1705 -                  delay).
  1.1706 -                </dd>
  1.1707 -              </dl>
  1.1708 -            </dd>
  1.1709 -            <dt>
  1.1710 -              <b>Methods</b>
  1.1711 -            </dt>
  1.1712 -            <dd>
  1.1713 -              <dl>
  1.1714 -                <dt>
  1.1715 -                  <code class='method-name'><a id="Events-AnimationEvent-initAnimationEvent" name='Events-AnimtionEvent-initAnimationEvent'>initAnimationEvent</a></code>
  1.1716 -                </dt>
  1.1717 -                <dd>
  1.1718 -                  <div class='method'>
  1.1719 -                    The <code>initAnimationEvent</code> method is used to initialize the value of an <code>AnimationEvent</code> created through the <a href='http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-DocumentEvent'><code>DocumentEvent</code></a> interface. This method may only be called before the <code>AnimationEvent</code> has been dispatched via the <code>dispatchEvent</code> method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.
  1.1720 -                    <div class='parameters'>
  1.1721 -                      <b>Parameters</b>
  1.1722 -                      <div class='paramtable'>
  1.1723 -                        <dl>
  1.1724 -                          <dt>
  1.1725 -                            <code class='parameter-name'>typeArg</code> of type <code>DOMString</code>
  1.1726 -                          </dt>
  1.1727 -                          <dd>
  1.1728 -                            Specifies the event type.<br>
  1.1729 -                          </dd>
  1.1730 -                          <dt>
  1.1731 -                            <code class='parameter-name'>canBubbleArg</code> of type <code>boolean</code>
  1.1732 -                          </dt>
  1.1733 -                          <dd>
  1.1734 -                            Specifies whether or not the event can bubble.<br>
  1.1735 -                          </dd>
  1.1736 -                          <dt>
  1.1737 -                            <code class='parameter-name'>cancelableArg</code> of type <code>boolean</code>
  1.1738 -                          </dt>
  1.1739 -                          <dd>
  1.1740 -                            Specifies whether or not the event's default action can be prevented.
  1.1741 -                          </dd>
  1.1742 -                          <dt>
  1.1743 -                            <code class='parameter-name'>animationNameArg</code> of type <code>DOMString</code>
  1.1744 -                          </dt>
  1.1745 -                          <dd>
  1.1746 -                            Specifies the <a href='http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-Event'><code>Event</code></a>'s animation name.<br>
  1.1747 -                          </dd>
  1.1748 -                          <dt>
  1.1749 -                            <code class='parameter-name'>elapsedTimeArg</code> of type <code>float</code>
  1.1750 -                          </dt>
  1.1751 -                          <dd>
  1.1752 -                            Specifies the amount of time, in seconds, the animation has been running at the time of initialization.
  1.1753 -                          </dd>
  1.1754 -                        </dl>
  1.1755 -                      </div>
  1.1756 -                    </div><!-- parameters -->
  1.1757 -                    <div>
  1.1758 -                      <b>No Return Value</b>
  1.1759 -                    </div>
  1.1760 -                    <div>
  1.1761 -                      <b>No Exceptions</b>
  1.1762 -                    </div>
  1.1763 -                  </div><!-- method -->
  1.1764 -                </dd>
  1.1765 -              </dl>
  1.1766 -            </dd>
  1.1767 -          </dl>
  1.1768 -        </dd>
  1.1769 -      </dl>
  1.1770 -      <p>
  1.1771 -        The different types of Animation events that can occur are:
  1.1772 -      </p>
  1.1773 -      <dl>
  1.1774 -        <dt>
  1.1775 -          <b>animationstart</b>
  1.1776 -        </dt>
  1.1777 -        <dd>
  1.1778 -          The 'animationstart' event occurs at the start of the animation. If there is an
  1.1779 -          <code class="property">animation-delay</code> then this event will fire once the delay period
  1.1780 -          has expired. A negative delay will cause the event to fire with an elapsedTime equal to
  1.1781 -          the absolute value of the delay.
  1.1782 -          <ul>
  1.1783 -            <li>Bubbles: Yes
  1.1784 -            </li>
  1.1785 -            <li>Cancelable: No
  1.1786 -            </li>
  1.1787 -            <li>Context Info: animationName
  1.1788 -            </li>
  1.1789 -          </ul>
  1.1790 -        </dd>
  1.1791 -        <dt>
  1.1792 -          <b>animationend</b>
  1.1793 -        </dt>
  1.1794 -        <dd>
  1.1795 -          The 'animationend' event occurs when the animation finishes.
  1.1796 -          <ul>
  1.1797 -            <li>Bubbles: Yes
  1.1798 -            </li>
  1.1799 -            <li>Cancelable: No
  1.1800 -            </li>
  1.1801 -            <li>Context Info: animationName, elapsedTime
  1.1802 -            </li>
  1.1803 -          </ul>
  1.1804 -        </dd>
  1.1805 -        <dt>
  1.1806 -          <b>animationiteration</b>
  1.1807 -        </dt>
  1.1808 -        <dd>
  1.1809 -          The 'animationiteration' event occurs at the end of each iteration of an animation, except when an 'animationend' event would fire at the same time.  
  1.1810 -          This means that this event does not occur for animations with an iteration count of one or less.
  1.1811 -          <ul>
  1.1812 -            <li>Bubbles: Yes
  1.1813 -            </li>
  1.1814 -            <li>Cancelable: No
  1.1815 -            </li>
  1.1816 -            <li>Context Info: animationName, elapsedTime
  1.1817 -            </li>
  1.1818 -          </ul>
  1.1819 -        </dd>
  1.1820 -      </dl>
  1.1821 -      <!-- ======================================================================================================= -->
  1.1822 -        <h2 id="dom-interfaces"><a id="dom-interfaces-">
  1.1823 -          DOM Interfaces
  1.1824 -        </a></h2>
  1.1825 -        <p>
  1.1826 -          CSS animation is exposed to the CSSOM through a pair of new interfaces
  1.1827 -          describing the keyframes.
  1.1828 -        </p>
  1.1829 -        <dl>
  1.1830 -          <dt>
  1.1831 -            <b>Interface <i><a id="DOM-CSSRule" name='DOM-CSSRule'>CSSRule</a></i></b>
  1.1832 -          </dt>
  1.1833 -          <dd>
  1.1834 -            <p>
  1.1835 -              The following 2 rule types are added to the <code>CSSRule</code> interface. They provide identification for the new keyframe and keyframes rules.
  1.1836 -            </p>
  1.1837 -            <dl>
  1.1838  
  1.1839 -              <dt>
  1.1840 -                <b>IDL Definition</b>
  1.1841 -              </dt>
  1.1842 -              <dd>
  1.1843 -                <div class='idl-code'>
  1.1844 -                  <pre>
  1.1845 -    interface CSSRule {
  1.1846 -      ...
  1.1847 -      const unsigned short KEYFRAMES_RULE = 7;
  1.1848 -      const unsigned short KEYFRAME_RULE = 8;
  1.1849 -      ...
  1.1850 -    };</pre>
  1.1851 -                </div>
  1.1852 -              </dd> <!-- IDL -->
  1.1853 -            </dl>
  1.1854 -          </dd>
  1.1855 +<h3 id="animation-duration-property">
  1.1856 +The 'animation-duration' Property</h3>
  1.1857  
  1.1858 -          <dt>
  1.1859 -            <b>Interface <i><a id="DOM-CSSKeyframeRule" name='DOM-CSSKeyframeRule'>CSSKeyframeRule</a></i></b>
  1.1860 -          </dt>
  1.1861 -          <dd>
  1.1862 -            <p>
  1.1863 -              The <code>CSSKeyframeRule</code> interface represents the style rule for a single key.
  1.1864 -            </p>
  1.1865 -            <dl>
  1.1866 -              <dt>
  1.1867 -                <br>
  1.1868 -                <b>IDL Definition</b>
  1.1869 -              </dt>
  1.1870 -              <dd>
  1.1871 -                <div class='idl-code'>
  1.1872 -                  <pre>
  1.1873 -    interface CSSKeyframeRule : CSSRule {
  1.1874 -        attribute DOMString keyText;
  1.1875 -        readonly attribute CSSStyleDeclaration style;
  1.1876 -    };
  1.1877 -    </pre>
  1.1878 -                </div><br>
  1.1879 -              </dd>
  1.1880 -              <dt>
  1.1881 -                <b>Attributes</b>
  1.1882 -              </dt>
  1.1883 -              <dd>
  1.1884 -                <dl>
  1.1885 -                  <dt>
  1.1886 -                    <code class='attribute-name'><a id="DOM-CSSKeyframeRule-keyText" name='DOM-CSSKeyframeRule-keyText'>keyText</a></code> of type <code>DOMString</code>
  1.1887 -                  </dt>
  1.1888 -                  <dd>
  1.1889 -                    This attribute represents the key as the string representation of a floating point number between 0 and 1. If the value 
  1.1890 -                    in the CSS style is <code>from</code> this value will be 0, and if the value in the CSS style is <code>to</code> this 
  1.1891 -                    value will be 1.<br>
  1.1892 -                  </dd>
  1.1893 -                </dl>
  1.1894 -              </dd>
  1.1895 -              <dd>
  1.1896 -                <dl>
  1.1897 -                  <dt>
  1.1898 -                    <code class='attribute-name'><a id="DOM-CSSKeyframeRule-style" name='DOM-CSSKeyframeRule-style'>style</a></code> of type <code>CSSStyleDeclaration</code>
  1.1899 -                  </dt>
  1.1900 -                  <dd>
  1.1901 -                    This attribute represents the style associated with this keyframe.<br>
  1.1902 -                  </dd>
  1.1903 -                </dl>
  1.1904 -              </dd>
  1.1905 -              <dt>
  1.1906 -                <b>No Methods</b>
  1.1907 -              </dt>
  1.1908 -            </dl>
  1.1909 -          </dd>
  1.1910 -        </dl>
  1.1911 -        <dl>
  1.1912 -          <dt>
  1.1913 -            <b>Interface <i><a id="DOM-CSSKeyframesRule" name='DOM-CSSKeyframesRule'>CSSKeyframesRule</a></i></b>
  1.1914 -          </dt>
  1.1915 -          <dd>
  1.1916 -            <p>
  1.1917 -              The <code>CSSKeyframesRule</code> interface represents a complete set of keyframes for a single animation.
  1.1918 -            </p>
  1.1919 -            <dl>
  1.1920 -              <dt>
  1.1921 -                <br>
  1.1922 -                <b>IDL Definition</b>
  1.1923 -              </dt>
  1.1924 -              <dd>
  1.1925 -                <div class='idl-code'>
  1.1926 -                  <pre>
  1.1927 -    interface CSSKeyframesRule : CSSRule {
  1.1928 -        attribute          DOMString   name;
  1.1929 -        readonly attribute CSSRuleList cssRules;
  1.1930 +	<p>
  1.1931 +		The 'animation-duration' property defines the length of time that an animation takes to complete one cycle.
  1.1932  
  1.1933 -        void               appendRule(in DOMString rule);
  1.1934 -        void               deleteRule(in DOMString key);
  1.1935 -        CSSKeyframeRule    findRule(in DOMString key);
  1.1936 -    };
  1.1937 -    </pre>
  1.1938 -                </div><br>
  1.1939 -              </dd>
  1.1940 -              <dt>
  1.1941 -                <b>Attributes</b>
  1.1942 -              </dt>
  1.1943 -              <dd>
  1.1944 -                <dl>
  1.1945 -                  <dt>
  1.1946 -                    <code class='attribute-name'><a id="DOM-CSSKeyframesRule-name" name='DOM-CSSKeyframesRule-name'>name</a></code> of type <code>DOMString</code>
  1.1947 -                  </dt>
  1.1948 -                  <dd>
  1.1949 -                    This attribute is the name of the keyframes, used by the <code>animation-name</code> property.<br>
  1.1950 -                  </dd>
  1.1951 -                </dl>
  1.1952 -              </dd>
  1.1953 -              <dd>
  1.1954 -                <dl>
  1.1955 -                  <dt>
  1.1956 -                    <code class='attribute-name'><a id="DOM-CSSKeyframeRules-cssRules" name='DOM-CSSKeyframeRules-cssRules'>cssRules</a></code> of type <code>CSSRuleList</code>
  1.1957 -                  </dt>
  1.1958 -                  <dd>
  1.1959 -                    This attribute gives access to the keyframes in the list.<br>
  1.1960 -                  </dd>
  1.1961 -                </dl>
  1.1962 -              </dd>
  1.1963 -              <dt>
  1.1964 -                <b>Methods</b>
  1.1965 -              </dt>
  1.1966 -              <dd>
  1.1967 -                <dl>
  1.1968 -                  <!-- ======================================================================================================= -->
  1.1969 -                  <dt>
  1.1970 -                    <code class='method-name'><a id="DOM-CSSKeyframesRule-appendRule" name='DOM-CSSKeyframesRule-appendRule'>appendRule</a></code>
  1.1971 -                  </dt>
  1.1972 -                  <dd>
  1.1973 -                    <div class='method'>
  1.1974 -                      The <code>appendRule</code> method appends the passed CSSKeyframeRule into the list at the passed key.
  1.1975 -                      <div class='parameters'>
  1.1976 -                        <b>Parameters</b>
  1.1977 -                        <div class='paramtable'>
  1.1978 -                          <dl>
  1.1979 -                             <dt>
  1.1980 -                              <code class='parameter-name'>rule</code> of type <code>DOMString</code>
  1.1981 -                            </dt>
  1.1982 -                            <dd>
  1.1983 -                              The rule to be appended, expressed in the same syntax as one entry in the
  1.1984 -                              <code>@keyframes</code> rule.
  1.1985 -                            </dd>
  1.1986 -                          </dl>
  1.1987 -                        </div>
  1.1988 -                      </div><!-- parameters -->
  1.1989 -                      <div class='return-value'>
  1.1990 -                        <b>No Return Value</b>
  1.1991 -                      </div>
  1.1992 -                      <div>
  1.1993 -                        <b>No Exceptions</b>
  1.1994 -                      </div>
  1.1995 -                    </div><!-- ======================================================================================================= -->
  1.1996 -                  </dd>
  1.1997 -                  <dt>
  1.1998 -                    <code class='method-name'><a id="DOM-CSSKeyframesRule-deleteRule" name='DOM-CSSKeyframesRule-deleteRule'>deleteRule</a></code>
  1.1999 -                  </dt>
  1.2000 -                  <dd>
  1.2001 -                    <div class='method'>
  1.2002 -                      The <code>deleteRule</code> method deletes the CSSKeyframeRule with the passed key. If a rule with this key
  1.2003 -                      does not exist, the method does nothing.
  1.2004 -                      <div class='parameters'>
  1.2005 -                        <b>Parameters</b>
  1.2006 -                        <div class='paramtable'>
  1.2007 -                          <dl>
  1.2008 -                            <dt>
  1.2009 -                              <code class='parameter-name'>key</code> of type <code>DOMString</code>
  1.2010 -                            </dt>
  1.2011 -                            <dd>
  1.2012 -                              The key which describes the rule to be deleted. The key must
  1.2013 -                              resolve to a number between 0 and 1, or the rule is ignored.<br>
  1.2014 -                            </dd>
  1.2015 -                          </dl>
  1.2016 -                        </div>
  1.2017 -                      </div><!-- parameters -->
  1.2018 -                      <div class='return-value'>
  1.2019 -                        <b>No Return Value</b>
  1.2020 -                      </div>
  1.2021 -                      <div>
  1.2022 -                        <b>No Exceptions</b>
  1.2023 -                      </div>
  1.2024 -                    </div><!-- ======================================================================================================= -->
  1.2025 -                  </dd>
  1.2026 -                  <dt>
  1.2027 -                    <code class='method-name'><a id="DOM-CSSKeyframesRule-findRule" name='DOM-CSSKeyframesRule-findRule'>findRule</a></code>
  1.2028 -                  </dt>
  1.2029 -                  <dd>
  1.2030 -                    <div class='method'>
  1.2031 -                      The <code>findRule</code> method returns the rule with a key matching the passed key. If no such rule
  1.2032 -                      exists, a null value is returned.
  1.2033 -                      <div class='parameters'>
  1.2034 -                        <b>Parameters</b>
  1.2035 -                        <div class='paramtable'>
  1.2036 -                          <dl>
  1.2037 -                            <dt>
  1.2038 -                              <code class='parameter-name'>key</code> of type <code>DOMString</code>
  1.2039 -                            </dt>
  1.2040 -                            <dd>
  1.2041 -                              The key which described the rule to find. The key must
  1.2042 -                              resolve to a number between 0 and 1, or the rule is ignored.<br>
  1.2043 -                            </dd>
  1.2044 -                          </dl>
  1.2045 -                        </div>
  1.2046 -                      </div><!-- parameters -->
  1.2047 -                      <div class='return-value'>
  1.2048 -                        <b>Return Value</b>
  1.2049 -                        <div class='returnvalue'>
  1.2050 -                          <dl>
  1.2051 -                            <dt>
  1.2052 -                              <code>CSSKeyframeRule</code>
  1.2053 -                            </dt>
  1.2054 -                            <dd>
  1.2055 -                              The found rule.<br>
  1.2056 -                            </dd>
  1.2057 -                          </dl>
  1.2058 -                        </div>
  1.2059 -                      </div>
  1.2060 -                      <div>
  1.2061 -                        <b>No Exceptions</b>
  1.2062 -                      </div>
  1.2063 -                    </div><!-- ======================================================================================================= -->
  1.2064 -                  </dd>
  1.2065 -                </dl><!-- method -->
  1.2066 -              </dd>
  1.2067 -            </dl>
  1.2068 -          </dd>
  1.2069 -        </dl>
  1.2070 +
  1.2071 +	<table class=propdef>
  1.2072 +		<tr>
  1.2073 +			<th>Name:</th>
  1.2074 +			<td><dfn>animation-duration</dfn>
  1.2075 +		<tr>
  1.2076 +			<th><a href="#values">Value</a>:
  1.2077 +			<td>&lt;time>#
  1.2078 +		<tr>
  1.2079 +			<th>Initial:
  1.2080 +			<td>''0s''
  1.2081 +		<tr>
  1.2082 +			<th>Applies To:
  1.2083 +			<td>all elements
  1.2084 +		<tr>
  1.2085 +			<th>Inherited:
  1.2086 +			<td>no
  1.2087 +		<tr>
  1.2088 +			<th>Computed Value:
  1.2089 +			<td>as specified
  1.2090 +		<tr>
  1.2091 +			<th>Media:
  1.2092 +			<td>visual
  1.2093 +		<tr>
  1.2094 +			<th>Animatable:
  1.2095 +			<td>no
  1.2096 +		<tr>
  1.2097 +			<th>Canonical Order:
  1.2098 +			<td><abbr title="follows order of property value definition">per grammar</abbr>
  1.2099 +	</table>
  1.2100 +
  1.2101 +	<p>
  1.2102 +		The initial value is ''0s'', 
  1.2103 +		meaning that the animation takes no time. 
  1.2104 +		A negative value for 'animation-duration' is treated as ''0s''. 
  1.2105 +		In this case 'animation-fill-mode' still applies, 
  1.2106 +		so an animation that fills backwards 
  1.2107 +		will show the value of the 0% keyframe during any delay period, 
  1.2108 +		and an animation that fills forwards will retain the value specified at the 100% keyframe, 
  1.2109 +		even if the animation was instantaneous. 
  1.2110 +		Also, animation events are still fired.
  1.2111 +			
  1.2112 +
  1.2113 +<h3 id="animation-timing-function-property">
  1.2114 +The 'animation-timing-function' Property</h3>
  1.2115 +
  1.2116 +	<p>
  1.2117 +		The 'animation-timing-function' property describes how the animation will progress over one cycle of its duration. 
  1.2118 +		See the 'transition-timing-function' property [[!CSS3-TRANSITIONS]] for a complete description of timing function calculation.
  1.2119 +
  1.2120 +	<table class=propdef>
  1.2121 +		<tr>
  1.2122 +			<th>Name:</th>
  1.2123 +			<td><dfn>animation-timing-function</dfn>
  1.2124 +		<tr>
  1.2125 +			<th><a href="#values">Value</a>:
  1.2126 +			<td>[ 
  1.2127 +				  ease | linear | ease-in | ease-out | ease-in-out | 
  1.2128 +				  step-start | step-end |
  1.2129 +				  steps(&lt;number> [, [ start | end ] ]) |
  1.2130 +				  cubic-bezier(&lt;number>, &lt;number>, &lt;number>, &lt;number>)
  1.2131 +				]#
  1.2132 +		<tr>
  1.2133 +			<th>Initial:
  1.2134 +			<td>''ease''
  1.2135 +		<tr>
  1.2136 +			<th>Applies To:
  1.2137 +			<td>all elements
  1.2138 +		<tr>
  1.2139 +			<th>Inherited:
  1.2140 +			<td>no
  1.2141 +		<tr>
  1.2142 +			<th>Computed Value:
  1.2143 +			<td>as specified
  1.2144 +		<tr>
  1.2145 +			<th>Media:
  1.2146 +			<td>visual
  1.2147 +		<tr>
  1.2148 +			<th>Animatable:
  1.2149 +			<td>no
  1.2150 +		<tr>
  1.2151 +			<th>Canonical Order:
  1.2152 +			<td><abbr title="follows order of property value definition">per grammar</abbr>
  1.2153 +	</table>
  1.2154 +
  1.2155 +	<p>
  1.2156 +		For a keyframed animation, 
  1.2157 +		the 'animation-timing-function' applies between keyframes, 
  1.2158 +		not over the entire animation. 
  1.2159 +		For example, 
  1.2160 +		in the case of an ''ease-in-out'' timing function, 
  1.2161 +		an animation will ease in at the start of the keyframe 
  1.2162 +		and ease out at the end of the keyframe. 
  1.2163 +		An 'animation-timing-function' defined within a keyframe block applies to that keyframe, 
  1.2164 +		otherwise the timing function specified for the animation is used.
  1.2165 +
  1.2166 +
  1.2167 +<h3 id="animation-iteration-count-property">
  1.2168 +The 'animation-iteration-count' Property</h3>
  1.2169 +
  1.2170 +	<p>
  1.2171 +		The 'animation-iteration-count' property specifies the number of times an animation cycle is played. 
  1.2172 +		The initial value is ''1'', 
  1.2173 +		meaning the animation will play from beginning to end once. 
  1.2174 +		A value of ''infinite'' will cause the animation to repeat forever. 
  1.2175 +		Non-integer numbers will cause the animation to end part-way through a cycle. 
  1.2176 +		Negative values of 'animation-iteration-count' are invalid. 
  1.2177 +		This property is often used in conjunction an 'animation-direction' value of ''alternate'', 
  1.2178 +		which will cause the animation to play in reverse on alternate cycles.
  1.2179 +
  1.2180 +	<table class=propdef>
  1.2181 +		<tr>
  1.2182 +			<th>Name:</th>
  1.2183 +			<td><dfn>animation-iteration-count</dfn>
  1.2184 +		<tr>
  1.2185 +			<th><a href="#values">Value</a>:
  1.2186 +			<td>[ infinite | &lt;number> ]#
  1.2187 +		<tr>
  1.2188 +			<th>Initial:
  1.2189 +			<td>''1''
  1.2190 +		<tr>
  1.2191 +			<th>Applies To:
  1.2192 +			<td>all elements
  1.2193 +		<tr>
  1.2194 +			<th>Inherited:
  1.2195 +			<td>no
  1.2196 +		<tr>
  1.2197 +			<th>Computed Value:
  1.2198 +			<td>as specified
  1.2199 +		<tr>
  1.2200 +			<th>Media:
  1.2201 +			<td>visual
  1.2202 +		<tr>
  1.2203 +			<th>Animatable:
  1.2204 +			<td>no
  1.2205 +		<tr>
  1.2206 +			<th>Canonical Order:
  1.2207 +			<td><abbr title="follows order of property value definition">per grammar</abbr>
  1.2208 +	</table>
  1.2209 +
  1.2210 +
  1.2211 +<h3 id="animation-direction-property">
  1.2212 +The 'animation-direction' Property</h3>
  1.2213 +
  1.2214 +	<p>
  1.2215 +		The 'animation-direction' property defines whether or not the animation should play in reverse on some or all cycles.  
  1.2216 +		When an animation is played in reverse the timing functions are also reversed. 
  1.2217 +		For example, when played in reverse an ease-in animation would appear to be an ease-out animation.
  1.2218 +
  1.2219 +	<table class=propdef>
  1.2220 +		<tr>
  1.2221 +			<th>Name:</th>
  1.2222 +			<td><dfn>animation-direction</dfn>
  1.2223 +		<tr>
  1.2224 +			<th><a href="#values">Value</a>:
  1.2225 +			<td>[ normal | reverse | alternate | alternate-reverse ]#
  1.2226 +		<tr>
  1.2227 +			<th>Initial:
  1.2228 +			<td>''normal''
  1.2229 +		<tr>
  1.2230 +			<th>Applies To:
  1.2231 +			<td>all elements
  1.2232 +		<tr>
  1.2233 +			<th>Inherited:
  1.2234 +			<td>no
  1.2235 +		<tr>
  1.2236 +			<th>Computed Value:
  1.2237 +			<td>as specified
  1.2238 +		<tr>
  1.2239 +			<th>Media:
  1.2240 +			<td>visual
  1.2241 +		<tr>
  1.2242 +			<th>Animatable:
  1.2243 +			<td>no
  1.2244 +		<tr>
  1.2245 +			<th>Canonical Order:
  1.2246 +			<td><abbr title="follows order of property value definition">per grammar</abbr>
  1.2247 +	</table>
  1.2248 +
  1.2249 +	<dl>
  1.2250 +		<dt><dfn>normal</dfn>
  1.2251 +		<dd>
  1.2252 +			All iterations of the animation are played as specified.
  1.2253 +
  1.2254 +		<dt><dfn>reverse</dfn>
  1.2255 +		<dd>
  1.2256 +			All iterations of the animation are played in the reverse direction from the way they were specified.
  1.2257 +
  1.2258 +		<dt><dfn>alternate</dfn>
  1.2259 +		<dd>
  1.2260 +			The animation cycle iterations that are odd counts are played in the normal direction, 
  1.2261 +			and the animation cycle iterations that are even counts are played in a reverse direction.
  1.2262 +
  1.2263 +		<dt><dfn>alternate-reverse</dfn>
  1.2264 +		<dd>
  1.2265 +			The animation cycle iterations that are odd counts are played in the reverse direction, 
  1.2266 +			and the animation cycle iterations that are even counts are played in a normal direction.
  1.2267 +	</dl>
  1.2268 +
  1.2269 +	<p class='note'>
  1.2270 +		Note that for the purpose of determining whether an iteration is even or odd,
  1.2271 +		iterations start counting from 1.
  1.2272 +
  1.2273 +
  1.2274 +<h3 id="animation-play-state-property">
  1.2275 +The 'animation-play-state' Property</h3>
  1.2276 +
  1.2277 +	<p>
  1.2278 +		The 'animation-play-state' property defines whether the animation is running or paused. 
  1.2279 +		A running animation can be paused by setting this property to ''paused''. 
  1.2280 +		To continue running a paused animation this property can be set to ''running''. 
  1.2281 +		A paused animation will continue to display the current value of the animation in a static state, 
  1.2282 +		as if the time of the animation is constant. 
  1.2283 +		When a paused animation is resumed, 
  1.2284 +		it restarts from the current value, 
  1.2285 +		not necessarily from the beginning of the animation.
  1.2286 +
  1.2287 +	<table class=propdef>
  1.2288 +		<tr>
  1.2289 +			<th>Name:</th>
  1.2290 +			<td><dfn>animation-play-state</dfn>
  1.2291 +		<tr>
  1.2292 +			<th><a href="#values">Value</a>:
  1.2293 +			<td>[ running | paused ]#
  1.2294 +		<tr>
  1.2295 +			<th>Initial:
  1.2296 +			<td>''running''
  1.2297 +		<tr>
  1.2298 +			<th>Applies To:
  1.2299 +			<td>all elements
  1.2300 +		<tr>
  1.2301 +			<th>Inherited:
  1.2302 +			<td>no
  1.2303 +		<tr>
  1.2304 +			<th>Computed Value:
  1.2305 +			<td>as specified
  1.2306 +		<tr>
  1.2307 +			<th>Media:
  1.2308 +			<td>visual
  1.2309 +		<tr>
  1.2310 +			<th>Animatable:
  1.2311 +			<td>no
  1.2312 +		<tr>
  1.2313 +			<th>Canonical Order:
  1.2314 +			<td><abbr title="follows order of property value definition">per grammar</abbr>
  1.2315 +	</table>
  1.2316 +
  1.2317 +
  1.2318 +<h3 id="animation-delay-property">
  1.2319 +The 'animation-delay' Property</h3>
  1.2320 +
  1.2321 +	<p>
  1.2322 +		The 'animation-delay' property defines when the animation will start. 
  1.2323 +		It allows an animation to begin execution some time after it is applied. 
  1.2324 +		An 'animation-delay' value of ''0s'' means the animation will execute as soon as it is applied. 
  1.2325 +		Otherwise, the value specifies an offset from the moment the animation is applied, 
  1.2326 +		and the animation will delay execution by that offset.
  1.2327 +			
  1.2328 +	<p>
  1.2329 +		If the value for 'animation-delay' is a negative time offset 
  1.2330 +		then the animation will execute the moment it is applied, 
  1.2331 +		but will appear to have begun execution at the specified offset. 
  1.2332 +		That is, the animation will appear to begin part-way through its play cycle. 
  1.2333 +		In the case where an animation has implied starting values and a negative 'animation-delay', 
  1.2334 +		the starting values are taken from the moment the animation is applied.
  1.2335 +
  1.2336 +	<table class=propdef>
  1.2337 +		<tr>
  1.2338 +			<th>Name:</th>
  1.2339 +			<td><dfn>foo</dfn>
  1.2340 +		<tr>
  1.2341 +			<th><a href="#values">animation-delay</a>:
  1.2342 +			<td>&lt;time>#
  1.2343 +		<tr>
  1.2344 +			<th>Initial:
  1.2345 +			<td>''0s''
  1.2346 +		<tr>
  1.2347 +			<th>Applies To:
  1.2348 +			<td>all elements
  1.2349 +		<tr>
  1.2350 +			<th>Inherited:
  1.2351 +			<td>no
  1.2352 +		<tr>
  1.2353 +			<th>Computed Value:
  1.2354 +			<td>as specified
  1.2355 +		<tr>
  1.2356 +			<th>Media:
  1.2357 +			<td>visual
  1.2358 +		<tr>
  1.2359 +			<th>Animatable:
  1.2360 +			<td>no
  1.2361 +		<tr>
  1.2362 +			<th>Canonical Order:
  1.2363 +			<td><abbr title="follows order of property value definition">per grammar</abbr>
  1.2364 +	</table>
  1.2365 +
  1.2366 +
  1.2367 +<h3 id="animation-fill-mode-property">
  1.2368 +The 'animation-fill-mode' Property</h3>
  1.2369 +
  1.2370 +	<p>
  1.2371 +		The 'animation-fill-mode' property defines what values are applied by the animation outside the time it is executing. 
  1.2372 +		By default, an animation will not affect property values 
  1.2373 +		between the time it is applied 
  1.2374 +		(the 'animation-name' property is set on an element) 
  1.2375 +		and the time it begins execution 
  1.2376 +		(which is determined by the 'animation-delay' property). 
  1.2377 +		Also, by default an animation does not affect property values after the animation ends 
  1.2378 +		(determined by the 'animation-duration' property). 
  1.2379 +		The 'animation-fill-mode' property can override this behavior.
  1.2380 +			
  1.2381 +	<p>
  1.2382 +		If the value for 'animation-fill-mode' is ''backwards'', 
  1.2383 +		then the animation will apply the property values defined in its 0% or 'from' keyframe 
  1.2384 +		as soon as the animation is applied, 
  1.2385 +		during the period defined by 'animation-delay'.
  1.2386 +			
  1.2387 +	<p>
  1.2388 +		If the value for 'animation-fill-mode' is ''forwards'', 
  1.2389 +		then the animation will apply the property values defined in its last executing keyframe 
  1.2390 +		after the final iteration of the animation, 
  1.2391 +		until the animation style is removed. 
  1.2392 +		The last executing keyframe is the 'to' or '100%' keyframe, 
  1.2393 +		unless the animation has 'animation-direction' set to ''alternate'' 
  1.2394 +		and both a finite and even iteration count, 
  1.2395 +		in which case it is the 'from' or '0%' keyframe.
  1.2396 +			
  1.2397 +	<p>
  1.2398 +		If the value for 'animation-fill-mode' is ''both'', 
  1.2399 +		then the animation will follow the rules for both 'forwards' and 'backwards'. 
  1.2400 +		That is, it will extend the animation properties in both directions.
  1.2401 +
  1.2402 +	<table class=propdef>
  1.2403 +		<tr>
  1.2404 +			<th>Name:</th>
  1.2405 +			<td><dfn>animation-fill-mode</dfn>
  1.2406 +		<tr>
  1.2407 +			<th><a href="#values">Value</a>:
  1.2408 +			<td>[ none | forwards | backwards | both ]#
  1.2409 +		<tr>
  1.2410 +			<th>Initial:
  1.2411 +			<td>''none''
  1.2412 +		<tr>
  1.2413 +			<th>Applies To:
  1.2414 +			<td>all elements
  1.2415 +		<tr>
  1.2416 +			<th>Inherited:
  1.2417 +			<td>no
  1.2418 +		<tr>
  1.2419 +			<th>Computed Value:
  1.2420 +			<td>as specified
  1.2421 +		<tr>
  1.2422 +			<th>Media:
  1.2423 +			<td>visual
  1.2424 +		<tr>
  1.2425 +			<th>Animatable:
  1.2426 +			<td>no
  1.2427 +		<tr>
  1.2428 +			<th>Canonical Order:
  1.2429 +			<td><abbr title="follows order of property value definition">per grammar</abbr>
  1.2430 +	</table>
  1.2431 +
  1.2432 +
  1.2433 +<h3 id="animation-shorthand-property">
  1.2434 +The 'animation' Shorthand Property
  1.2435 +
  1.2436 +	<p>
  1.2437 +		The 'animation' shorthand property combines seven of the animation properties into a single property.
  1.2438 +			
  1.2439 +	<p>
  1.2440 +		Note that order is important in this property. 
  1.2441 +		The first value that can be parsed as a <var>&lt;time></var> is assigned to the 'animation-duration'. 
  1.2442 +		The second value that can be parsed as a <var>&lt;time></var> is assigned to 'animation-delay'.
  1.2443 +			
  1.2444 +	<p class="issue">
  1.2445 +		An alternative proposal is to accept the font shorthand approach 
  1.2446 +		of using a "/" character between the values of the same type. 
  1.2447 +		e.g. 2s/4s would mean a duration of 2 seconds and a delay of 4 seconds.
  1.2448 +
  1.2449 +	<table class=propdef>
  1.2450 +		<tr>
  1.2451 +			<th>Name:</th>
  1.2452 +			<td><dfn>animation</dfn>
  1.2453 +		<tr>
  1.2454 +			<th><a href="#values">Value</a>:
  1.2455 +			<td>[ &lt;'animation-name'> || 
  1.2456 +				&lt;'animation-duration'> ||
  1.2457 +				&lt;'animation-timing-function'> ||
  1.2458 +				&lt;'animation-delay'> ||
  1.2459 +				&lt;'animation-iteration-count'> ||
  1.2460 +				&lt;'animation-direction'> ||
  1.2461 +				&lt;'animation-fill-mode'> ]#
  1.2462 +		<tr>
  1.2463 +			<th>Initial:
  1.2464 +			<td>see individual properties
  1.2465 +		<tr>
  1.2466 +			<th>Applies To:
  1.2467 +			<td>all elements
  1.2468 +		<tr>
  1.2469 +			<th>Inherited:
  1.2470 +			<td>see individual properties
  1.2471 +		<tr>
  1.2472 +			<th>Computed Value:
  1.2473 +			<td>see individual properties
  1.2474 +		<tr>
  1.2475 +			<th>Media:
  1.2476 +			<td>visual
  1.2477 +		<tr>
  1.2478 +			<th>Animatable:
  1.2479 +			<td>no
  1.2480 +		<tr>
  1.2481 +			<th>Canonical Order:
  1.2482 +			<td><abbr title="follows order of property value definition">per grammar</abbr>
  1.2483 +	</table>
  1.2484 +
  1.2485 +
  1.2486 +<h2 id="animation-events">
  1.2487 +Animation Events</h2>
  1.2488 +	
  1.2489 +	<p>
  1.2490 +		Several animation related events are available through the <a href="http://www.w3.org/TR/DOM-Level-2-Events/events.html">DOM Event system</a>. 
  1.2491 +		The start and end of an animation, 
  1.2492 +		and the end of each iteration of an animation, 
  1.2493 +		all generate DOM events. 
  1.2494 +		An element can have multiple properties being animated simultaneously. 
  1.2495 +		This can occur either with a single 'animation-name' value 
  1.2496 +		with keyframes containing multiple properties, 
  1.2497 +		or with multiple 'animation-name' values. 
  1.2498 +		For the purposes of events, 
  1.2499 +		each 'animation-name' specifies a single animation. 
  1.2500 +		Therefore an event will be generated for each 'animation-name' value 
  1.2501 +		and not necessarily for each property being animated.
  1.2502 +			
  1.2503 +	<p>
  1.2504 +		The time the animation has been running is sent with each event generated. 
  1.2505 +		This allows the event handler to determine the current iteration of a looping animation 
  1.2506 +		or the current position of an alternating animation. 
  1.2507 +		This time does not include any time the animation was in the ''paused'' play state.
  1.2508 +			
  1.2509 +
  1.2510 +<h3 id='AnimationEvent-interface'>
  1.2511 +Interface <code>AnimationEvent</code>
  1.2512 +	
  1.2513 +	<p>
  1.2514 +		The <dfn>AnimationEvent</dfn> interface provides specific contextual information associated with Animation events.
  1.2515 +
  1.2516 +
  1.2517 +<h4 id='AnimationEvent-IDL'>
  1.2518 +IDL Definition</h4>
  1.2519 +	
  1.2520 +	<pre class='idl'>
  1.2521 +interface AnimationEvent : Event {
  1.2522 +	readonly attribute DOMString          animationName;
  1.2523 +	readonly attribute float              elapsedTime;
  1.2524 +	void               initAnimationEvent(in DOMString typeArg, 
  1.2525 +	                                      in boolean canBubbleArg, 
  1.2526 +	                                      in boolean cancelableArg, 
  1.2527 +	                                      in DOMString animationNameArg,
  1.2528 +	                                      in float elapsedTimeArg);
  1.2529 +};</pre>
  1.2530 +
  1.2531 +
  1.2532 +<h4 id='AnimationEvent-attributes'>
  1.2533 +Attributes</h4>
  1.2534 +
  1.2535 +	<dl>
  1.2536 +		<dt><code><dfn id='AnimationEvent-animationName'>animationName</dfn></code> of type <code>DOMString</code>, readonly
  1.2537 +		<dd>
  1.2538 +			The value of the 'animation-name' property of the animation that fired the event.
  1.2539 +				
  1.2540 +		<dt><code><dfn id='AnimationEvent-elapsedTime'>elapsedTime</dfn></code> of type <code>float</code>, readonly
  1.2541 +		<dd>
  1.2542 +			The amount of time the animation has been running, 
  1.2543 +			in seconds, 
  1.2544 +			when this event fired, 
  1.2545 +			excluding any time the animation was paused. 
  1.2546 +			For an "animationstart" event, 
  1.2547 +			the elapsedTime is zero unless there was a negative value for 'animation-delay', 
  1.2548 +			in which case the event will be fired with an <code>elapsedTime</code> of (-1 * delay).
  1.2549 +	</dl>
  1.2550 +
  1.2551 +						
  1.2552 +<h4 id='AnimationEvent-initAnimationMethod'>
  1.2553 +The <code>initAnimationEvent</code> method</h4>
  1.2554 +	
  1.2555 +	<p>
  1.2556 +		The <dfn>initAnimationEvent</dfn> method is used to initialize the value of an <code>AnimationEvent</code> 
  1.2557 +		created through the <a href='http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-DocumentEvent'><code>DocumentEvent</code></a> interface. 
  1.2558 +		This method may only be called before the <code>AnimationEvent</code> has been dispatched 
  1.2559 +		via the <code>dispatchEvent</code> method, 
  1.2560 +		though it may be called multiple times during that phase if necessary. 
  1.2561 +		If called multiple times, 
  1.2562 +		the final invocation takes precedence.
  1.2563 +
  1.2564 +	<p>
  1.2565 +		Parameters:
  1.2566 +
  1.2567 +	<dl>
  1.2568 +		<dt><code>typeArg</code> of type <code>DOMString</code>
  1.2569 +		<dd>
  1.2570 +			Specifies the event type.
  1.2571 +		
  1.2572 +		<dt><code>canBubbleArg</code> of type <code>boolean</code>
  1.2573 +		<dd>
  1.2574 +			Specifies whether or not the event can bubble.<br>
  1.2575 +		
  1.2576 +		<dt><code>cancelableArg</code> of type <code>boolean</code>
  1.2577 +		<dd>
  1.2578 +			Specifies whether or not the event's default action can be prevented.
  1.2579 +		
  1.2580 +		<dt><code>animationNameArg</code> of type <code>DOMString</code>
  1.2581 +		<dd>
  1.2582 +			Specifies the <a href='http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-Event'><code>Event</code></a>'s animation name.<br>
  1.2583 +		
  1.2584 +		<dt><code>elapsedTimeArg</code> of type <code>float</code>
  1.2585 +		<dd>
  1.2586 +			Specifies the amount of time, 
  1.2587 +			in seconds, 
  1.2588 +			the animation has been running at the time of initialization.
  1.2589 +	</dl>
  1.2590 +
  1.2591 +	<p>
  1.2592 +		No Return Value
  1.2593 +
  1.2594 +	<p>
  1.2595 +		No Exceptions
  1.2596 +
  1.2597 +<h3 id='AnimationEvent-types'>
  1.2598 +Types of <code>AnimationEvent</code></h3>
  1.2599 +				
  1.2600 +	<p>
  1.2601 +		The different types of Animation events that can occur are:
  1.2602 +	
  1.2603 +	<dl>
  1.2604 +		<dt><dfn>animationstart</dfn>
  1.2605 +		<dd>
  1.2606 +			The <code>animationstart</code> event occurs at the start of the animation. 
  1.2607 +			If there is an 'animation-delay' 
  1.2608 +			then this event will fire once the delay period has expired. 
  1.2609 +			A negative delay will cause the event to fire with an <code>elapsedTime</code> equal to the absolute value of the delay.
  1.2610 +			
  1.2611 +			<ul>
  1.2612 +				<li>Bubbles: Yes
  1.2613 +				<li>Cancelable: No
  1.2614 +				<li>Context Info: animationName
  1.2615 +			</ul>
  1.2616 +		
  1.2617 +		<dt><dfn>animationend</dfn>
  1.2618 +		<dd>
  1.2619 +			The <code>animationend</code> event occurs when the animation finishes.
  1.2620 +
  1.2621 +			<ul>
  1.2622 +				<li>Bubbles: Yes
  1.2623 +				<li>Cancelable: No
  1.2624 +				<li>Context Info: animationName, elapsedTime
  1.2625 +			</ul>
  1.2626 +		
  1.2627 +		<dt><dfn>animationiteration</dfn>
  1.2628 +		<dd>
  1.2629 +			The <code>animationiteration</code> event occurs at the end of each iteration of an animation, 
  1.2630 +			except when an <code>animationend</code> event would fire at the same time.  
  1.2631 +			This means that this event does not occur for animations with an iteration count of one or less.
  1.2632 +
  1.2633 +			<ul>
  1.2634 +				<li>Bubbles: Yes
  1.2635 +				<li>Cancelable: No
  1.2636 +				<li>Context Info: animationName, elapsedTime
  1.2637 +			</ul>
  1.2638 +	</dl>
  1.2639 +
  1.2640 +
  1.2641 +<h2 id="dom-interfaces">
  1.2642 +DOM Interfaces</h2>
  1.2643 +
  1.2644 +	<p>
  1.2645 +		CSS animation is exposed to the CSSOM through a pair of new interfaces describing the keyframes.
  1.2646 +
  1.2647 +
  1.2648 +<h3 id='CSSRule-interface'>
  1.2649 +Interface <code>CSSRule</code></h3>
  1.2650 +
  1.2651 +	<p>
  1.2652 +		The following 2 rule types are added to the <dfn>CSSRule</dfn> interface. 
  1.2653 +		They provide identification for the new keyframe and keyframes rules.
  1.2654 +						
  1.2655 +
  1.2656 +<h4 id='CSSRule-IDL'>
  1.2657 +IDL Definition</h4>
  1.2658 +
  1.2659 +	<pre class='idl'>
  1.2660 +interface CSSRule {
  1.2661 +	...
  1.2662 +	const unsigned short KEYFRAMES_RULE = 7;
  1.2663 +	const unsigned short KEYFRAME_RULE = 8;
  1.2664 +	...
  1.2665 +};</pre>
  1.2666 +
  1.2667 +
  1.2668 +<h3 id='CSSKeyframeRule-interface'>
  1.2669 +Interface <code>CSSKeyframeRule</code></3h>
  1.2670 +	<p>
  1.2671 +		The <dfn>CSSKeyframeRule</dfn> interface represents the style rule for a single key.
  1.2672 +
  1.2673 +
  1.2674 +<h4 id='CSSKeyframeRule-IDL'>
  1.2675 +IDL Definition</h4>
  1.2676 +
  1.2677 +	<pre class='idl'>
  1.2678 +interface CSSKeyframeRule : CSSRule {
  1.2679 +	         attribute DOMString           keyText;
  1.2680 +	readonly attribute CSSStyleDeclaration style;
  1.2681 +};</pre>
  1.2682 +
  1.2683 +
  1.2684 +<h4 id='CSSKeyframeRule-attributes'>
  1.2685 +Attributes</h4>
  1.2686 +
  1.2687 +	<dl>
  1.2688 +		<dt><code><dfn id='CSSKeyframeRule-keyText'>keyText</dfn></code> of type <code>DOMString</code>
  1.2689 +		<dd>
  1.2690 +			This attribute represents the key 
  1.2691 +			as the string representation of a floating point number between 0 and 1. 
  1.2692 +			If the value in the CSS style is ''from''
  1.2693 +			this value will be 0, 
  1.2694 +			and if the value in the CSS style is ''to'' 
  1.2695 +			this value will be 1.
  1.2696 +
  1.2697 +		<dt><code><dfn id='CSSKeyframeRule-style'>style</dfn></code> of type <code>CSSStyleDeclaration</code>
  1.2698 +		<dd>
  1.2699 +			This attribute represents the style associated with this keyframe.
  1.2700 +	</dl>
  1.2701 +
  1.2702 +
  1.2703 +<h3 id='CSSKeyframesRule-interface'>
  1.2704 +Interface <code>CSSKeyframesRule</code></h3>
  1.2705 +
  1.2706 +	<p>
  1.2707 +		The <dfn>CSSKeyframesRule</dfn> interface represents a complete set of keyframes for a single animation.
  1.2708 +
  1.2709 +
  1.2710 +<h4 id='CSSKeyframesRule-IDL'>
  1.2711 +IDL Definition</h4>
  1.2712 +
  1.2713 +	<pre class='idl'>
  1.2714 +interface CSSKeyframesRule : CSSRule {
  1.2715 +	         attribute DOMString   name;
  1.2716 +	readonly attribute CSSRuleList cssRules;
  1.2717 +
  1.2718 +	void            appendRule(in DOMString rule);
  1.2719 +	void            deleteRule(in DOMString key);
  1.2720 +	CSSKeyframeRule findRule(in DOMString key);
  1.2721 +};</pre>
  1.2722 +
  1.2723 +
  1.2724 +<h4 id='CSSKeyframesRule-attributes'>
  1.2725 +Attributes</h4>
  1.2726 +
  1.2727 +	<dl>
  1.2728 +		<dt><code><dfn id='CSSKeyframesRule-name'>name</dfn></code> of type <code>DOMString</code>
  1.2729 +		<dd>
  1.2730 +			This attribute is the name of the keyframes, used by the 'animation-name' property.<br>
  1.2731 +		
  1.2732 +		<dt><code><dfn id='CSSKeyframesRules-cssRules'>cssRules</dfn></code> of type <code>CSSRuleList</code>
  1.2733 +		<dd>
  1.2734 +			This attribute gives access to the keyframes in the list.
  1.2735 +
  1.2736 +
  1.2737 +<h4 id='CSSKeyframesRule-appendRule'>
  1.2738 +The <code>appendRule</code> method</h4>
  1.2739 +
  1.2740 +	<p>
  1.2741 +		The <dfn>appendRule</dfn> method appends the passed CSSKeyframeRule into the list at the passed key.
  1.2742 +
  1.2743 +	<p>
  1.2744 +		Parameters:
  1.2745 +
  1.2746 +	<dl>
  1.2747 +		<dt><code>rule</code> of type <code>DOMString</code>
  1.2748 +		
  1.2749 +		<dd>
  1.2750 +			The rule to be appended, 
  1.2751 +			expressed in the same syntax as one entry in the ''@keyframes'' rule.
  1.2752 +	</dl>
  1.2753 +
  1.2754 +	<p>
  1.2755 +		No Return Value
  1.2756 +
  1.2757 +	<p>
  1.2758 +		No Exceptions
  1.2759 +
  1.2760 +
  1.2761 +<h4 id='CSSKeyframesRules-deleteRule'>
  1.2762 +The <code>deleteRule</code> method</h4>
  1.2763 +
  1.2764 +	<p>
  1.2765 +		The <dfn>deleteRule</dfn> method deletes the CSSKeyframeRule with the passed key. 
  1.2766 +		If a rule with this key does not exist, 
  1.2767 +		the method does nothing.
  1.2768 +
  1.2769 +	<p>
  1.2770 +		Parameters:
  1.2771 +
  1.2772 +	<dl>
  1.2773 +		<dt><code>key</code> of type <code>DOMString</code>
  1.2774 +		<dd>
  1.2775 +			The key which describes the rule to be deleted. 
  1.2776 +			The key must resolve to a number between 0 and 1, 
  1.2777 +			or the rule is ignored.
  1.2778 +	</dl>
  1.2779 +
  1.2780 +	<p>
  1.2781 +		No Return Value
  1.2782 +
  1.2783 +	<p>
  1.2784 +		No Exceptions
  1.2785 +
  1.2786 +
  1.2787 +<h4 id='CSSKeyframesRule-findRule'>
  1.2788 +The <code>findRule</code> method</h4>
  1.2789 +
  1.2790 +	<p>
  1.2791 +		The <code>findRule</code> method returns the rule with a key matching the passed key. 
  1.2792 +		If no such rule exists, 
  1.2793 +		a null value is returned.
  1.2794 +
  1.2795 +	<p>
  1.2796 +		Parameters:
  1.2797 +
  1.2798 +	<dl>
  1.2799 +		<dt><code>key</code> of type <code>DOMString</code>
  1.2800 +		<dd>
  1.2801 +			The key which described the rule to find. 
  1.2802 +			The key must resolve to a number between 0 and 1, 
  1.2803 +			or the rule is ignored.
  1.2804 +	</dl>
  1.2805 +
  1.2806 +	<p>
  1.2807 +		Return Value:
  1.2808 +
  1.2809 +	<dl>
  1.2810 +		<dt><code>CSSKeyframeRule</code>
  1.2811 +		<dd>
  1.2812 +			The found rule.
  1.2813 +	</dl>
  1.2814 +
  1.2815 +	<p>
  1.2816 +		No Exceptions
  1.2817 +		
  1.2818  
  1.2819  <h2 id="acknowledgments">Acknowledgments</h2>
  1.2820  
  1.2821 @@ -1640,7 +1269,7 @@
  1.2822  Tab Atkins,
  1.2823  Estelle Weyl,
  1.2824  and all the rest of the
  1.2825 -<a href="http://lists.w3.org/Archives/Public/www-style/">www-style</a> community.</p>
  1.2826 +<a href="http://lists.w3.org/Archives/Public/www-style/">www-style</a> community.
  1.2827  
  1.2828  <h2>References</h2>
  1.2829  
  1.2830 @@ -1665,7 +1294,21 @@
  1.2831  <!-- Keep this comment at the end of the file
  1.2832  Local variables:
  1.2833  mode: sgml
  1.2834 +sgml-declaration:"~/SGML/HTML4.decl"
  1.2835  sgml-default-doctype-name:"html"
  1.2836  sgml-minimize-attributes:t
  1.2837 +sgml-nofill-elements:("pre" "style" "br")
  1.2838 +sgml-live-element-indicator:t
  1.2839 +sgml-omittag:nil
  1.2840 +sgml-shorttag:nil
  1.2841 +sgml-namecase-general:t
  1.2842 +sgml-general-insert-case:lower
  1.2843 +sgml-always-quote-attributes:t
  1.2844 +sgml-indent-step:nil
  1.2845 +sgml-indent-data:t
  1.2846 +sgml-parent-document:nil
  1.2847 +sgml-exposed-tags:nil
  1.2848 +sgml-local-catalogs:nil
  1.2849 +sgml-local-ecat-files:nil
  1.2850  End:
  1.2851 --->
  1.2852 +-->
  1.2853 \ No newline at end of file

mercurial