W3C home > Mailing lists > Public > public-css-commits@w3.org > January 2012

csswg/css3-animations ChangeLog,1.9,1.10 Overview.html,1.18,1.19 Overview.src.html,1.19,1.20

From: Simon Fraser via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 30 Jan 2012 15:59:11 +0000
To: public-css-commits@w3.org
Message-Id: <E1RrtdP-00065g-SM@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-animations
In directory hutz:/tmp/cvs-serv23338

Modified Files:
	ChangeLog Overview.html Overview.src.html 
Log Message:
2012-01-30 simon.fraser@apple.com
	Editorial only; change all <span class=""> to <code> to get default.css styling,
	and minor reformatting.


Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-animations/Overview.html,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- Overview.html	30 Jan 2012 15:24:47 -0000	1.18
+++ Overview.html	30 Jan 2012 15:59:09 -0000	1.19
@@ -158,42 +158,39 @@
       </span> Timing functions for keyframes </a>
 
      <li><a href="#the-animation-name-property-"><span class=secno>3.2.
-      </span> The <span class=prop-name>&lsquo;<code
-      class=property>animation-name</code>&rsquo;</span> Property </a>
+      </span> The <code class=property>'animation-name'</code> Property </a>
 
      <li><a href="#the-animation-duration-property-"><span class=secno>3.3.
-      </span> The <span class=prop-name>&lsquo;<code
-      class=property>animation-duration</code>&rsquo;</span> Property </a>
+      </span> The <code class=property>'animation-duration'</code> Property
+      </a>
 
      <li><a href="#animation-timing-function_tag"><span class=secno>3.4.
-      </span> The <span class=prop-name>&lsquo;<code
-      class=property>animation-timing-function</code>&rsquo;</span> Property
-      </a>
+      </span> The <code class=property>'animation-timing-function'</code>
+      Property </a>
 
      <li><a href="#the-animation-iteration-count-property-"><span
-      class=secno>3.5. </span> The <span class=prop-name>&lsquo;<code
-      class=property>animation-iteration-count</code>&rsquo;</span> Property
-      </a>
+      class=secno>3.5. </span> The <code
+      class=property>'animation-iteration-count'</code> Property </a>
 
      <li><a href="#the-animation-direction-property-"><span class=secno>3.6.
-      </span> The <span class=prop-name>&lsquo;<code
-      class=property>animation-direction</code>&rsquo;</span> Property </a>
+      </span> The <code class=property>'animation-direction'</code> Property
+      </a>
 
      <li><a href="#the-animation-play-state-property-"><span class=secno>3.7.
-      </span> The <span class=prop-name>&lsquo;<code
-      class=property>animation-play-state</code>&rsquo;</span> Property </a>
+      </span> The <code class=property>'animation-play-state'</code> Property
+      </a>
 
      <li><a href="#the-animation-delay-property-"><span class=secno>3.8.
-      </span> The <span class=prop-name>&lsquo;<code
-      class=property>animation-delay</code>&rsquo;</span> Property </a>
+      </span> The <code class=property>'animation-delay'</code> Property </a>
+      
 
      <li><a href="#the-animation-fill-mode-property-"><span class=secno>3.9.
-      </span> The <span class=prop-name>&lsquo;<code
-      class=property>animation-fill-mode</code>&rsquo;</span> Property </a>
+      </span> The <code class=property>'animation-fill-mode'</code> Property
+      </a>
 
      <li><a href="#the-animation-shorthand-property-"><span class=secno>3.10.
-      </span> The <span class=prop-name>&lsquo;<code
-      class=property>animation</code>&rsquo;</span> Shorthand Property </a>
+      </span> The <code class=property>'animation'</code> Shorthand Property
+      </a>
     </ul>
 
    <li><a href="#animation-events-"><span class=secno>4. </span> Animation
@@ -279,29 +276,27 @@
    scripting engine returns control to the browser (in the case of style
    applied by script).
 
-  <p> An animation applies to an element if the element has a value for <span
-   class=prop-name>&lsquo;<a href="#animation-name"><code
-   class=property>animation-name</code></a>&rsquo;</span> that references a
-   valid keyframes rule. Once an animation has started it continues until it
-   ends or the <span class=prop-name>&lsquo;<a href="#animation-name"><code
-   class=property>animation-name</code></a>&rsquo;</span> is removed. The
-   values used for the keyframes and animation properties are snapshotted at
-   the time the animation starts. Changing them during the execution of the
-   animation has no effect. Note also, that changing the value of <span
-   class=prop-name>&lsquo;<a href="#animation-name"><code
-   class=property>animation-name</code></a>&rsquo;</span> does not
-   necessarily restart an animation (e.g. if a list of animations are applied
-   and one is removed from the list, only that animation will stop; The other
-   animations will continue). In order to restart an animation, it must be
-   removed then reapplied.
+  <p> An animation applies to an element if the element has a value for <a
+   href="#animation-name"><code class=property>'animation-name'</code></a>
+   that references a valid keyframes rule. Once an animation has started it
+   continues until it ends or the <a href="#animation-name"><code
+   class=property>'animation-name'</code></a> is removed. The values used for
+   the keyframes and animation properties are snapshotted at the time the
+   animation starts. Changing them during the execution of the animation has
+   no effect. Note also, that changing the value of <a
+   href="#animation-name"><code class=property>'animation-name'</code></a>
+   does not necessarily restart an animation (e.g. if a list of animations
+   are applied and one is removed from the list, only that animation will
+   stop; The other animations will continue). In order to restart an
+   animation, it must be removed then reapplied.
 
-  <p> The end of the animation is defined by the combination of the <span
-   class=prop-name>&lsquo;<a href="#animation-duration"><code
-   class=property>animation-duration</code></a>&rsquo;</span>, <span
-   class=prop-name>&lsquo;<a href="#animation-iteration-count"><code
-   class=property>animation-iteration-count</code></a>&rsquo;</span> and
-   <span class=prop-name>&lsquo;<a href="#animation-fill-mode"><code
-   class=property>animation-fill-mode</code></a>&rsquo;</span> properties.
+  <p> The end of the animation is defined by the combination of the <a
+   href="#animation-duration"><code
+   class=property>'animation-duration'</code></a>, <a
+   href="#animation-iteration-count"><code
+   class=property>'animation-iteration-count'</code></a> and <a
+   href="#animation-fill-mode"><code
+   class=property>'animation-fill-mode'</code></a> properties.
 
   <div class=example>
    <p style="display:none"> Example(s):</p>
@@ -339,13 +334,12 @@
    of one cycle of the animation; the animation may iterate one or more
    times.
 
-  <p> Keyframes are specified using a specialized CSS at-rule. A <span
-   class=prop-name>@keyframes</span> rule consists of the keyword
+  <p> Keyframes are specified using a specialized CSS at-rule. A <code
+   class=property>@keyframes</code> rule consists of the keyword
    "@keyframes", followed by an identifier giving a name for the animation
-   (which will be referenced using <span class=prop-name>&lsquo;<a
-   href="#animation-name"><code
-   class=property>animation-name</code></a>&rsquo;</span>), followed by a set
-   of style rules (delimited by curly braces).
+   (which will be referenced using <a href="#animation-name"><code
+   class=property>'animation-name'</code></a>), followed by a set of style
+   rules (delimited by curly braces).
 
   <p> The <i>keyframe selector</i> for a keyframe style rule consists of a
    comma-separated list of percentage values or the keywords &lsquo;<code
@@ -367,29 +361,28 @@
 
   <p> The <i>keyframe declaration</i> for a keyframe rule consists of
    properties and values. Properties that are unable to be animated are
-   ignored in these rules, with the exception of <a class=prop-name
-   href="#animation-timing-function">animation-timing-function</a>, the
-   behavior of which is described below.
+   ignored in these rules, with the exception of <a
+   href="#animation-timing-function"><code
+   class=property>'animation-timing-function'</code></a>, the behavior of
+   which is described below.
 
   <p class=note> NOTE: describe what happens if a property is not present in
    all keyframes.
 
   <p> The @keyframes rule that is used by an animation will be the last one
    encountered in sorted rules order that matches the name of the animation
-   specified by the <span class=prop-name>&lsquo;<a
-   href="#animation-name"><code
-   class=property>animation-name</code></a>&rsquo;</span> property. <span
-   class=prop-name>@keyframes</span> rules do not cascade; therefore an
-   animation will never derive keyframes from more than one <span
-   class=prop-name>@keyframes</span> rule.
+   specified by the <a href="#animation-name"><code
+   class=property>'animation-name'</code></a> property. <code
+   class=css>@keyframes</code> rules do not cascade; therefore an animation
+   will never derive keyframes from more than one <code
+   class=css>@keyframes</code> rule.
 
   <p> To determine the set of keyframes, all of the values in the selectors
    are sorted in increasing order by time. If there are any duplicates, then
-   the last keyframe specified inside the <span
-   class=prop-name>@keyframes</span> rule will be used to provide the
-   keyframe information for that time. There is no cascading within a <span
-   class=prop-name>@keyframes</span> rule if multiple keyframes specify the
-   same keyframe selector values.
+   the last keyframe specified inside the <code class=css>@keyframes</code>
+   rule will be used to provide the keyframe information for that time. There
+   is no cascading within a <code class=css>@keyframes</code> rule if
+   multiple keyframes specify the same keyframe selector values.
 
   <p> If property is not specified for a keyframe, or is specified but
    invalid, the animation of that property proceeds as if that keyframe did
@@ -402,7 +395,6 @@
 
    <pre>
   @keyframes wobble {
-
     0% {
       left: 100px;
     }
@@ -418,7 +410,6 @@
     100% {
       left: 100px;
     }
-
   }
 
   </pre>
@@ -502,34 +493,32 @@
    the element 25px units up the page. A timing function specified on the
    "to" or 100% keyframe is ignored</div>
 
-  <p> See <a href="#animation-timing-function_tag">the <span
-   class=prop-name>&lsquo;<code
-   class=property>animation-timing-function</code>&rsquo;</span> property</a>
-   for more information.</p>
+  <p> See <a href="#animation-timing-function_tag">the <code
+   class=property>'animation-timing-function'</code> property</a> for more
+   information.</p>
   <!-- ======================================================================================================= -->
   <!-- ======================================================================================================= -->
 
-  <h3 id=the-animation-name-property-><span class=secno>3.2. </span> The
-   <span class=prop-name>&lsquo;<a href="#animation-name"><code
-   class=property>animation-name</code></a>&rsquo;</span> Property</h3>
+  <h3 id=the-animation-name-property-><span class=secno>3.2. </span> The <a
+   href="#animation-name"><code class=property>'animation-name'</code></a>
+   Property</h3>
 
-  <p> The <span class=prop-name>&lsquo;<a href="#animation-name"><code
-   class=property>animation-name</code></a>&rsquo;</span> property defines a
-   list of animations that apply. Each name is used to select the keyframe
-   at-rule that provides the property values for the animation. If the name
-   does not match any keyframe at-rule, there are no properties to be
-   animated and the animation will not execute. Furthermore, if the animation
-   name is &lsquo;<code class=property>none</code>&rsquo; then there will be
-   no animation. This can be used to override any animations coming from the
+  <p> The <a href="#animation-name"><code
+   class=property>'animation-name'</code></a> property defines a list of
+   animations that apply. Each name is used to select the keyframe at-rule
+   that provides the property values for the animation. If the name does not
+   match any keyframe at-rule, there are no properties to be animated and the
+   animation will not execute. Furthermore, if the animation name is
+   &lsquo;<code class=property>none</code>&rsquo; then there will be no
+   animation. This can be used to override any animations coming from the
    cascade. If animations are attempting to modify the same property, then
    the animation closest to the end of the list of names wins.
 
   <p> Each animation listed by name should have a corresponding value for the
    other animation properties listed below. In the case where the other
    properties do not have lists of the correct length, their values are
-   repeated to form a list with the same number of entries as <span
-   class=prop-name>&lsquo;<a href="#animation-name"><code
-   class=property>animation-name</code></a>&rsquo;</span>.
+   repeated to form a list with the same number of entries as <a
+   href="#animation-name"><code class=property>'animation-name'</code></a>.
 
   <table class=propdef>
    <tbody>
@@ -575,7 +564,7 @@
   </table>
   <!--
       <p>
-        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 <span class="prop-name">opacity</span> will add together and animations on <span class="prop-name">transform</span> will have their transformation matrices multiplied.
+        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.
       </p>
       <div class="example">
         <p style="display:none">
@@ -606,7 +595,7 @@
         }
       </pre>
       <p>
-      The above example has two animations executing on the same property, <span class="prop-name">border-width</span>. The animations are additive. That is, the 
+      The above example has two animations executing on the same property, <code class="property">'border-width'</code>. The animations are additive. That is, the 
       resulting value for the property will be the addition of the values from the
       two animations.
       </p>
@@ -621,12 +610,12 @@
   <!-- ======================================================================================================= -->
 
   <h3 id=the-animation-duration-property-><span class=secno>3.3. </span> The
-   <span class=prop-name>&lsquo;<a href="#animation-duration"><code
-   class=property>animation-duration</code></a>&rsquo;</span> Property</h3>
+   <a href="#animation-duration"><code
+   class=property>'animation-duration'</code></a> Property</h3>
 
-  <p> The <span class=prop-name>&lsquo;<a href="#animation-duration"><code
-   class=property>animation-duration</code></a>&rsquo;</span> property
-   defines the length of time that an animation takes to complete one cycle.
+  <p> The <a href="#animation-duration"><code
+   class=property>'animation-duration'</code></a> property defines the length
+   of time that an animation takes to complete one cycle.
 
   <table class=propdef>
    <tbody>
@@ -673,26 +662,25 @@
 
   <p> By default the value is &lsquo;<code class=css>0s</code>&rsquo;,
    meaning that the animation cycle is immediate. A negative value for <a
-   class=prop-name href="#animation-duration">animation-duration</a> is
-   treated as &lsquo;<code class=css>0s</code>&rsquo;. In this case <a
-   class=prop-name href="#animation-fill-mode">animation-fill-mode</a> still
-   applies, so an animation that fills backwards will show the value of the
-   0% keyframe during any delay period, and an animation that fill forwards
-   will retain the value specified at the 100% keyframe, even if the
-   animation was instantaneous. Also, animation events are still fired.</p>
+   href="#animation-duration"><code
+   class=property>'animation-duration'</code></a> is treated as &lsquo;<code
+   class=css>0s</code>&rsquo;. In this case <a
+   href="#animation-fill-mode"><code
+   class=property>'animation-fill-mode'</code></a> still applies, so an
+   animation that fills backwards will show the value of the 0% keyframe
+   during any delay period, and an animation that fill forwards will retain
+   the value specified at the 100% keyframe, even if the animation was
+   instantaneous. Also, animation events are still fired.</p>
   <!-- ======================================================================================================= -->
 
   <h3 id="animation-timing-function_tag"><span class=secno>3.4. </span> The
-   <span class=prop-name>&lsquo;<a href="#animation-timing-function"><code
-   class=property>animation-timing-function</code></a>&rsquo;</span> Property
-   </h3>
+   <a href="#animation-timing-function"><code
+   class=property>'animation-timing-function'</code></a> Property</h3>
 
-  <p> The <span class=prop-name>&lsquo;<a
-   href="#animation-timing-function"><code
-   class=property>animation-timing-function</code></a>&rsquo;</span> property
-   describes how the animation will progress over one cycle of its duration.
-   See the <span class=prop-name>&lsquo;<code
-   class=property>transition-timing-function</code>&rsquo;</span> property <a
+  <p> The <a href="#animation-timing-function"><code
+   class=property>'animation-timing-function'</code></a> property describes
+   how the animation will progress over one cycle of its duration. See the
+   <code class=property>'transition-timing-function'</code> property <a
    href="#CSS3-TRANSITIONS"
    rel=biblioentry>[CSS3-TRANSITIONS]<!--{{!CSS3-TRANSITIONS}}--></a> for a
    complete description of timing function calculation.
@@ -746,41 +734,35 @@
      <td> Same as specified value.
   </table>
 
-  <p> For a keyframed animation, the <span class=prop-name>&lsquo;<a
+  <p> For a keyframed animation, the <a
    href="#animation-timing-function"><code
-   class=property>animation-timing-function</code></a>&rsquo;</span> applies
-   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 <span
-   class=prop-name>&lsquo;<a href="#animation-timing-function"><code
-   class=property>animation-timing-function</code></a>&rsquo;</span> defined
-   within a keyframe block applies to that keyframe, otherwise the timing
-   function specified for the animation is used.</p>
+   class=property>'animation-timing-function'</code></a> applies 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 <a
+   href="#animation-timing-function"><code
+   class=property>'animation-timing-function'</code></a> defined within a
+   keyframe block applies to that keyframe, otherwise the timing function
+   specified for the animation is used.</p>
   <!-- ======================================================================================================= -->
 
   <h3 id=the-animation-iteration-count-property-><span class=secno>3.5.
-   </span> The <span class=prop-name>&lsquo;<a
-   href="#animation-iteration-count"><code
-   class=property>animation-iteration-count</code></a>&rsquo;</span> Property
-   </h3>
+   </span> The <a href="#animation-iteration-count"><code
+   class=property>'animation-iteration-count'</code></a> Property</h3>
 
-  <p> The <span class=prop-name>&lsquo;<a
+  <p> The <a href="#animation-iteration-count"><code
+   class=property>'animation-iteration-count'</code></a> property defines the
+   number of times an animation cycle is played. The default value is one,
+   meaning the animation will play from beginning to end once. A value of
+   <code class=css>'infinite'</code> will cause the animation to repeat
+   forever. Non-integer numbers will cause the animation to end part-way
+   through a cycle. Negative values of <a
    href="#animation-iteration-count"><code
-   class=property>animation-iteration-count</code></a>&rsquo;</span> property
-   defines the number of times an animation cycle is played. The default
-   value is one, meaning the animation will play from beginning to end once.
-   A value of <span class=prop-value>&lsquo;<code
-   class=property>infinite</code>&rsquo;</span> will cause the animation to
-   repeat forever. Non-integer numbers will cause the animation to end
-   part-way through a cycle. Negative values of <span
-   class=prop-name>&lsquo;<a href="#animation-iteration-count"><code
-   class=property>animation-iteration-count</code></a>&rsquo;</span> are
-   invalid. This property is often used with an <span
-   class=prop-name>&lsquo;<a href="#animation-direction"><code
-   class=property>animation-direction</code></a>&rsquo;</span> value of <span
-   class=prop-value>&lsquo;<code
-   class=property>alternate</code>&rsquo;</span>, which will cause the
-   animation to play in reverse on alternate cycles.
+   class=property>'animation-iteration-count'</code></a> are invalid. This
+   property is often used with an <a href="#animation-direction"><code
+   class=property>'animation-direction'</code></a> value of <code
+   class=css>alternate</code>, which will cause the animation to play in
+   reverse on alternate cycles.
 
   <table class=propdef>
    <tbody>
@@ -827,19 +809,18 @@
   <!-- ======================================================================================================= -->
 
   <h3 id=the-animation-direction-property-><span class=secno>3.6. </span> The
-   <span class=prop-name>&lsquo;<a href="#animation-direction"><code
-   class=property>animation-direction</code></a>&rsquo;</span> Property</h3>
+   <a href="#animation-direction"><code
+   class=property>'animation-direction'</code></a> Property</h3>
 
-  <p> The <span class=prop-name>&lsquo;<a href="#animation-direction"><code
-   class=property>animation-direction</code></a>&rsquo;</span> property
-   defines whether or not the animation should play in reverse on alternate
-   cycles. If <span class=prop-value>&lsquo;<code
-   class=property>alternate</code>&rsquo;</span> is specified, 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. 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.
+  <p> The <a href="#animation-direction"><code
+   class=property>'animation-direction'</code></a> property defines whether
+   or not the animation should play in reverse on alternate cycles. If <code
+   class=css>alternate</code> is specified, 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.
+   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.
 
   <table class=propdef>
    <tbody>
@@ -886,20 +867,19 @@
   <!-- ======================================================================================================= -->
 
   <h3 id=the-animation-play-state-property-><span class=secno>3.7. </span>
-   The <span class=prop-name>&lsquo;<a href="#animation-play-state"><code
-   class=property>animation-play-state</code></a>&rsquo;</span> Property</h3>
+   The <a href="#animation-play-state"><code
+   class=property>'animation-play-state'</code></a> Property</h3>
 
-  <p> The <span class=prop-name>&lsquo;<a href="#animation-play-state"><code
-   class=property>animation-play-state</code></a>&rsquo;</span> property
-   defines whether the animation is running or paused. A running animation
-   can be paused by setting this property to <span
-   class=prop-value>&lsquo;<code class=property>paused</code>&rsquo;</span>.
-   To continue running a paused animation this property can be set to <span
-   class=prop-value>&lsquo;<code class=property>running</code>&rsquo;</span>.
-   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.
+  <p> The <a href="#animation-play-state"><code
+   class=property>'animation-play-state'</code></a> 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.
 
   <table class=propdef>
    <tbody>
@@ -945,31 +925,28 @@
   </table>
   <!-- ======================================================================================================= -->
 
-  <h3 id=the-animation-delay-property-><span class=secno>3.8. </span> The
-   <span class=prop-name>&lsquo;<a href="#animation-delay"><code
-   class=property>animation-delay</code></a>&rsquo;</span> Property</h3>
+  <h3 id=the-animation-delay-property-><span class=secno>3.8. </span> The <a
+   href="#animation-delay"><code class=property>'animation-delay'</code></a>
+   Property</h3>
 
-  <p> The <span class=prop-name>&lsquo;<a href="#animation-delay"><code
-   class=property>animation-delay</code></a>&rsquo;</span> property defines
-   when the animation will start. It allows an animation to begin execution
-   some time after it is applied. An <span class=prop-name>&lsquo;<a
-   href="#animation-delay"><code
-   class=property>animation-delay</code></a>&rsquo;</span> value of
-   &lsquo;<code class=css>0s</code>&rsquo; means the animation will execute
-   as soon as it is applied. Otherwise, the value specifies an offset from
-   the moment the animation is applied, and the animation will delay
-   execution by that offset.
+  <p> The <a href="#animation-delay"><code
+   class=property>'animation-delay'</code></a> property defines when the
+   animation will start. It allows an animation to begin execution some time
+   after it is applied. An <a href="#animation-delay"><code
+   class=property>'animation-delay'</code></a> value of &lsquo;<code
+   class=css>0s</code>&rsquo; means the animation will execute as soon as it
+   is applied. Otherwise, the value specifies an offset from the moment the
+   animation is applied, and the animation will delay execution by that
+   offset.
 
-  <p> If the value for <span class=prop-name>&lsquo;<a
-   href="#animation-delay"><code
-   class=property>animation-delay</code></a>&rsquo;</span> is a negative time
-   offset then the animation will execute the moment it is applied, but will
-   appear to have begun execution at the specified offset. That is, the
-   animation will appear to begin part-way through its play cycle. In the
-   case where an animation has implied starting values and a negative <span
-   class=prop-name>&lsquo;<a href="#animation-delay"><code
-   class=property>animation-delay</code></a>&rsquo;</span>, the starting
-   values are taken from the moment the animation is applied.
+  <p> If the value for <a href="#animation-delay"><code
+   class=property>'animation-delay'</code></a> is a negative time offset then
+   the animation will execute the moment it is applied, but will appear to
+   have begun execution at the specified offset. That is, the animation will
+   appear to begin part-way through its play cycle. In the case where an
+   animation has implied starting values and a negative <a
+   href="#animation-delay"><code class=property>'animation-delay'</code></a>,
+   the starting values are taken from the moment the animation is applied.
 
   <table class=propdef>
    <tbody>
@@ -1016,62 +993,50 @@
   <!-- ======================================================================================================= -->
 
   <h3 id=the-animation-fill-mode-property-><span class=secno>3.9. </span> The
-   <span class=prop-name>&lsquo;<a href="#animation-fill-mode"><code
-   class=property>animation-fill-mode</code></a>&rsquo;</span> Property</h3>
+   <a href="#animation-fill-mode"><code
+   class=property>'animation-fill-mode'</code></a> Property</h3>
 
-  <p> The <span class=prop-name>&lsquo;<a href="#animation-fill-mode"><code
-   class=property>animation-fill-mode</code></a>&rsquo;</span> property
-   defines what values are applied by the animation outside the time it is
-   executing. By default, an animation will not affect property values
-   between the time it is applied (the <span class=prop-name>&lsquo;<a
-   href="#animation-name"><code
-   class=property>animation-name</code></a>&rsquo;</span> property is set on
-   an element) and the time it begins execution (which is determined by the
-   <span class=prop-name>&lsquo;<a href="#animation-delay"><code
-   class=property>animation-delay</code></a>&rsquo;</span> property). Also,
-   by default an animation does not affect property values after the
-   animation ends (determined by the <span class=prop-name>&lsquo;<a
+  <p> The <a href="#animation-fill-mode"><code
+   class=property>'animation-fill-mode'</code></a> property defines what
+   values are applied by the animation outside the time it is executing. By
+   default, an animation will not affect property values between the time it
+   is applied (the <a href="#animation-name"><code
+   class=property>'animation-name'</code></a> property is set on an element)
+   and the time it begins execution (which is determined by the <a
+   href="#animation-delay"><code class=property>'animation-delay'</code></a>
+   property). Also, by default an animation does not affect property values
+   after the animation ends (determined by the <a
    href="#animation-duration"><code
-   class=property>animation-duration</code></a>&rsquo;</span> property). The
-   value of <span class=prop-name>&lsquo;<a href="#animation-fill-mode"><code
-   class=property>animation-fill-mode</code></a>&rsquo;</span> can override
-   this behavior.
-
-  <p> If the value for <span class=prop-name>&lsquo;<a
+   class=property>'animation-duration'</code></a> property). The value of <a
    href="#animation-fill-mode"><code
-   class=property>animation-fill-mode</code></a>&rsquo;</span> is <span
-   class=prop-value>&lsquo;<code
-   class=property>backwards</code>&rsquo;</span>, then the animation will
-   apply the property values defined in its 0% or &lsquo;<code
-   class=property>from</code>&rsquo; keyframe as soon as the animation is
-   applied, during the period defined by <span class=prop-name>&lsquo;<a
-   href="#animation-delay"><code
-   class=property>animation-delay</code></a>&rsquo;</span>.
+   class=property>'animation-fill-mode'</code></a> can override this
+   behavior.
 
-  <p> If the value for <span class=prop-name>&lsquo;<a
-   href="#animation-fill-mode"><code
-   class=property>animation-fill-mode</code></a>&rsquo;</span> is <span
-   class=prop-value>&lsquo;<code
-   class=property>forwards</code>&rsquo;</span>, then the animation will
-   apply the property values defined in its last executing keyframe after the
-   final iteration of the animation, until the animation style is removed.
-   The last executing keyframe is the &lsquo;<code
-   class=property>to</code>&rsquo; or &lsquo;<code
-   class=css>100%</code>&rsquo; keyframe, unless the animation has <span
-   class=prop-name>&lsquo;<a href="#animation-direction"><code
-   class=property>animation-direction</code></a>&rsquo;</span> set to <span
-   class=prop-value>&lsquo;<code
-   class=property>alternate</code>&rsquo;</span> and both a finite and even
-   iteration count, in which case it is the &lsquo;<code
-   class=property>from</code>&rsquo; or &lsquo;<code
-   class=css>0%</code>&rsquo; keyframe.
+  <p> If the value for <a href="#animation-fill-mode"><code
+   class=property>'animation-fill-mode'</code></a> is <code
+   class=css>'backwards'</code>, then the animation will apply the property
+   values defined in its 0% or &lsquo;<code class=property>from</code>&rsquo;
+   keyframe as soon as the animation is applied, during the period defined by
+   <a href="#animation-delay"><code
+   class=property>'animation-delay'</code></a>.
 
-  <p> If the value for <span class=prop-name>&lsquo;<a
-   href="#animation-fill-mode"><code
-   class=property>animation-fill-mode</code></a>&rsquo;</span> is <span
-   class=prop-value>&lsquo;<code class=property>both</code>&rsquo;</span>,
-   then the animation will follow the rules for both &lsquo;<code
-   class=property>forwards</code>&rsquo; and &lsquo;<code
+  <p> If the value for <a href="#animation-fill-mode"><code
+   class=property>'animation-fill-mode'</code></a> is <code
+   class=css>'forwards'</code>, then the animation will apply the property
+   values defined in its last executing keyframe after the final iteration of
+   the animation, until the animation style is removed. The last executing
+   keyframe is the &lsquo;<code class=property>to</code>&rsquo; or
+   &lsquo;<code class=css>100%</code>&rsquo; keyframe, unless the animation
+   has <a href="#animation-direction"><code
+   class=property>'animation-direction'</code></a> set to <code
+   class=css>'alternate'</code> and both a finite and even iteration count,
+   in which case it is the &lsquo;<code class=property>from</code>&rsquo; or
+   &lsquo;<code class=css>0%</code>&rsquo; keyframe.
+
+  <p> If the value for <a href="#animation-fill-mode"><code
+   class=property>'animation-fill-mode'</code></a> is <code
+   class=css>'both'</code>, then the animation will follow the rules for both
+   &lsquo;<code class=property>forwards</code>&rsquo; and &lsquo;<code
    class=property>backwards</code>&rsquo;. That is, it will extend the
    animation properties in both directions.
 
@@ -1121,12 +1086,12 @@
   <!-- ======================================================================================================= -->
 
   <h3 id=the-animation-shorthand-property-><span class=secno>3.10. </span>
-   The <span class=prop-name>&lsquo;<a href="#animation"><code
-   class=property>animation</code></a>&rsquo;</span> Shorthand Property</h3>
+   The <a href="#animation"><code class=property>'animation'</code></a>
+   Shorthand Property</h3>
 
-  <p> The <span class=prop-name>&lsquo;<a href="#animation"><code
-   class=property>animation</code></a>&rsquo;</span> shorthand property
-   combines seven of the animation properties into a single property.
+  <p> The <a href="#animation"><code class=property>'animation'</code></a>
+   shorthand property combines seven of the animation properties into a
+   single property.
 
   <p> Note that order is important in this property. The first value that can
    be parsed as a time is assigned to the animation-duration. The second
@@ -1193,14 +1158,15 @@
    system</a>. The start and end of an animation, and the end of each
    iteration of an animation all generate DOM events. An element can have
    multiple properties being animated simultaneously. This can occur either
-   with a single <a class=prop-name href="#animation-name">animation-name</a>
-   value with keyframes containing multiple properties, or with multiple <a
-   class=prop-name href="#animation-name">animation-name</a> values. For the
-   purposes of events, each <a class=prop-name
-   href="#animation-name">animation-name</a> specifies a single animation.
-   Therefore an event will be generated for each <a class=prop-name
-   href="#animation-name">animation-name</a> value and not necessarily for
-   each property being animated.
+   with a single <a href="#animation-name"><code
+   class=property>animation-name</code></a> value with keyframes containing
+   multiple properties, or with multiple <a href="#animation-name"><code
+   class=property>animation-name</code></a> values. For the purposes of
+   events, each <a href="#animation-name"><code
+   class=property>animation-name</code></a> specifies a single animation.
+   Therefore an event will be generated for each <a
+   href="#animation-name"><code class=property>animation-name</code></a>
+   value and not necessarily for each property being animated.
 
   <p> The time the animation has been running is sent with each event
    generated. This allows the event handler to determine the current
@@ -1244,8 +1210,8 @@
         name=Events-AnimationEvent-animationName>animationName</a></code> of
         type <code>DOMString</code>, readonly
 
-       <dd> The value of the <a class=prop-name
-        href="#animation-name">animation-name</a> property of the animation
+       <dd> The value of the <a href="#animation-name"><code
+        class=property>animation-name</code></a> property of the animation
         that fired the event.
       </dl>
 
@@ -1258,8 +1224,8 @@
        <dd> The amount of time the animation has been running, in seconds,
         when this event fired, excluding any time the animation was paused.
         For an "animationstart" event, the elapsedTime is zero unless there
-        was a negative value for <a class=prop-name
-        href="#animation-delay">animation-delay</a>, in which case the event
+        was a negative value for <a href="#animation-delay"><code
+        class=property>animation-delay</code></a>, in which case the event
         will be fired with an elapsedTime of (-1 * delay).
       </dl>
 
@@ -1333,10 +1299,10 @@
    <dt> <b>animationstart</b>
 
    <dd> The &rsquo;animationstart' event occurs at the start of the
-    animation. If there is an <a class=prop-name
-    href="#animation-delay">animation-delay</a> then this event will fire
-    once the delay period has expired. A negative delay will cause the event
-    to fire with an elapsedTime equal to the absolute value of the delay.
+    animation. If there is an <a href="#animation-delay"><code
+    class=property>animation-delay</code></a> then this event will fire once
+    the delay period has expired. A negative delay will cause the event to
+    fire with an elapsedTime equal to the absolute value of the delay.
     <ul>
      <li>Bubbles: Yes
 

Index: ChangeLog
===================================================================
RCS file: /sources/public/csswg/css3-animations/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ChangeLog	30 Jan 2012 15:24:47 -0000	1.9
+++ ChangeLog	30 Jan 2012 15:59:09 -0000	1.10
@@ -1,4 +1,8 @@
 2012-01-30 simon.fraser@apple.com
+	Editorial only; change all <span class=""> to <code> to get default.css styling,
+	and minor reformatting.
+	
+2012-01-30 simon.fraser@apple.com
 	- Clarify behavior of missing properties in keyframes:
 		https://www.w3.org/Bugs/Public/show_bug.cgi?id=14636
 		https://www.w3.org/Style/CSS/Tracker/actions/389

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-animations/Overview.src.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- Overview.src.html	30 Jan 2012 15:24:47 -0000	1.19
+++ Overview.src.html	30 Jan 2012 15:59:09 -0000	1.20
@@ -150,13 +150,13 @@
 
     <p>
       An animation applies to an element if the element has a value for
-      <span class="prop-name">'animation-name'</span> that references a valid
+      <code class="property">'animation-name'</code> that references a valid
       keyframes rule. Once an animation has started it continues until it ends
-      or the <span class="prop-name">'animation-name'</span> is removed. The values
+      or the <code class="property">'animation-name'</code> is removed. The values
       used for the keyframes and animation properties are snapshotted at the
       time the animation starts. Changing them during the execution of the
       animation has no effect. Note also, that changing the value of 
-      <span class="prop-name">'animation-name'</span> does not necessarily
+      <code class="property">'animation-name'</code> does not necessarily
       restart an animation (e.g. if a list of animations are applied and
       one is removed from the list, only that animation will stop; The other
       animations will continue). In order to restart an animation, it must be
@@ -165,9 +165,9 @@
 
     <p>
       The end of the animation is defined by the combination of the
-      <span class="prop-name">'animation-duration'</span>,
-      <span class="prop-name">'animation-iteration-count'</span> and
-      <span class="prop-name">'animation-fill-mode'</span> properties.
+      <code class="property">'animation-duration'</code>,
+      <code class="property">'animation-iteration-count'</code> and
+      <code class="property">'animation-fill-mode'</code> properties.
     </p>
     
     <div class="example">
@@ -205,12 +205,11 @@
         the animation may iterate one or more times.
       </p>
       <p>
-        Keyframes are specified using a specialized CSS at-rule. A <span
-        class="prop-name">@keyframes</span> rule consists of the keyword
+        Keyframes are specified using a specialized CSS at-rule. A <code
+        class="property">@keyframes</code> rule consists of the keyword
         "@keyframes", followed by an identifier giving a name for the animation
-        (which will be referenced using <span
-        class="prop-name">'animation-name'</span>), followed by a set of style
-        rules (delimited by curly braces).
+        (which will be referenced using <code class="property">'animation-name'</code>),
+        followed by a set of style rules (delimited by curly braces).
       </p>
       <p>
         The <i>keyframe selector</i> for a keyframe style rule consists of a
@@ -233,8 +232,8 @@
       <p>
         The <i>keyframe declaration</i> for a keyframe rule consists of
         properties and values. Properties that are unable to be
-        animated are ignored in these rules, with the exception of <span
-        class="prop-name">animation-timing-function</span>, the behavior 
+        animated are ignored in these rules, with the exception of <code
+        class="property">'animation-timing-function'</code>, the behavior 
         of which is described below.
       </p>
       <p class="note">
@@ -242,15 +241,15 @@
       </p>
       <p>
         The @keyframes rule that is used by an animation will be the last one encountered in sorted rules order
-        that matches the name of the animation specified by the <span class="prop-name">'animation-name'</span> property.
-        <span class="prop-name">@keyframes</span> rules do not cascade;
-        therefore an animation will never derive keyframes from more than one <span class="prop-name">@keyframes</span> rule.
+        that matches the name of the animation specified by the <code class="property">'animation-name'</code> property.
+        <code class="css">@keyframes</code> rules do not cascade;
+        therefore an animation will never derive keyframes from more than one <code class="css">@keyframes</code> rule.
       </p>
       <p>
         To determine the set of keyframes, all of the values in the selectors are sorted in increasing order by time.
-        If there are any duplicates, then the last keyframe specified inside the <span class="prop-name">@keyframes</span> rule
+        If there are any duplicates, then the last keyframe specified inside the <code class="css">@keyframes</code> rule
         will be used to provide the keyframe information for that time. There is no cascading within a
-        <span class="prop-name">@keyframes</span> rule if multiple keyframes specify the same keyframe selector values.
+        <code class="css">@keyframes</code> rule if multiple keyframes specify the same keyframe selector values.
       </p>
       <p>
         If property is not specified for a keyframe, or is specified but invalid, the animation of that property proceeds
@@ -263,7 +262,6 @@
         </p>
         <pre>
   @keyframes wobble {
-
     0% {
       left: 100px;
     }
@@ -279,7 +277,6 @@
     100% {
       left: 100px;
     }
-
   }
 
   </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.
@@ -350,15 +347,16 @@
   </pre>Five keyframes are specified for the animation named "bounce". Between the first and second keyframe (ie. between 0% and 25%) an "ease-out" timing function is used. Between the second and third keyframe (ie. 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
       </div>
       <p>
-        See <a href="#animation-timing-function_tag">the <span class="prop-name">'animation-timing-function'</span> property</a> for more information.
+        See <a href="#animation-timing-function_tag">the <code class="property">'animation-timing-function'</code>
+          property</a> for more information.
       </p><!-- ======================================================================================================= -->
 
       <!-- ======================================================================================================= -->
       <h3>
-        The <span class="prop-name">'animation-name'</span> Property
+        The <code class="property">'animation-name'</code> Property
       </h3>
       <p>
-        The <span class="prop-name">'animation-name'</span> property defines a
+        The <code class="property">'animation-name'</code> property defines a
         list of animations that apply. Each name is used to select the keyframe at-rule
         that provides the property values for the animation. If the name does
         not match any keyframe at-rule, there are no properties to be animated
@@ -373,7 +371,7 @@
         for the other animation properties listed below. In the case where the
         other properties do not have lists of the correct length, their values
         are repeated to form a list with the same number of entries as
-        <span class="prop-name">'animation-name'</span>.
+        <code class="property">'animation-name'</code>.
       </p>
       <table class="propdef">
         <tbody>
@@ -446,7 +444,7 @@
 
       <!--
       <p>
-        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 <span class="prop-name">opacity</span> will add together and animations on <span class="prop-name">transform</span> will have their transformation matrices multiplied.
+        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.
       </p>
       <div class="example">
         <p style="display:none">
@@ -477,7 +475,7 @@
         }
       </pre>
       <p>
-      The above example has two animations executing on the same property, <span class="prop-name">border-width</span>. The animations are additive. That is, the 
+      The above example has two animations executing on the same property, <code class="property">'border-width'</code>. The animations are additive. That is, the 
       resulting value for the property will be the addition of the values from the
       two animations.
       </p>
@@ -493,10 +491,10 @@
 
       <!-- ======================================================================================================= -->
       <h3>
-        The <span class="prop-name">'animation-duration'</span> Property
+        The <code class="property">'animation-duration'</code> Property
       </h3>
       <p>
-        The <span class="prop-name">'animation-duration'</span> property defines the length of time that an animation takes to complete one cycle.
+        The <code class="property">'animation-duration'</code> property defines the length of time that an animation takes to complete one cycle.
       </p>
       <table class="propdef">
         <tbody>
@@ -569,9 +567,9 @@
 
       <p>
         By default the value is '0s', meaning that the animation cycle is
-        immediate. A negative value for <span
-        class="prop-name">animation-duration</span> is treated as '0s'. In this
-        case <span class="prop-name">animation-fill-mode</span> still applies,
+        immediate. A negative value for <code
+        class="property">'animation-duration'</code> is treated as '0s'. In this
+        case <code class="property">'animation-fill-mode'</code> still applies,
         so an animation that fills backwards will show the value of the 0%
         keyframe during any delay period, and an animation that fill forwards
         will retain the value specified at the 100% keyframe, even if the
@@ -580,10 +578,10 @@
 
       <!-- ======================================================================================================= -->
       <h3 id="animation-timing-function_tag">
-        The <span class="prop-name">'animation-timing-function'</span> Property
+        The <code class="property">'animation-timing-function'</code> Property
       </h3>
       <p>
-        The <span class="prop-name">'animation-timing-function'</span> property describes how the animation will progress over one cycle of its duration. See the <span class="prop-name">'transition-timing-function'</span> property [[!CSS3-TRANSITIONS]] for a complete description of timing function calculation.
+        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.
       </p>
       <table class="propdef">
         <tbody>
@@ -655,16 +653,22 @@
       </table>
 
       <p>
-        For a keyframed animation, the <span class="prop-name">'animation-timing-function'</span> applies
-        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 <span class="prop-name">'animation-timing-function'</span> defined within a keyframe block applies to that keyframe, otherwise the timing function specified for the animation is used.
+        For a keyframed animation, the <code class="property">'animation-timing-function'</code> applies
+        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.
       </p>
 
       <!-- ======================================================================================================= -->
       <h3>
-        The <span class="prop-name">'animation-iteration-count'</span> Property
+        The <code class="property">'animation-iteration-count'</code> Property
       </h3>
       <p>
-        The <span class="prop-name">'animation-iteration-count'</span> property defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once. A value of <span class="prop-value">'infinite'</span> will cause the animation to repeat forever. Non-integer numbers will cause the animation to end part-way through a cycle. Negative values of <span class="prop-name">'animation-iteration-count'</span> are invalid. This property is often used with an <span class="prop-name">'animation-direction'</span> value of <span class="prop-value">'alternate'</span>, which will cause the animation to play in reverse on alternate cycles.
+        The <code class="property">'animation-iteration-count'</code> property defines the number of times
+        an animation cycle is played. The default value is one, meaning the animation will play from
+        beginning to end once. A value of <code class="css">'infinite'</code> will cause the animation to
+        repeat forever. Non-integer numbers will cause the animation to end part-way through a cycle.
+        Negative values of <code class="property">'animation-iteration-count'</code> are invalid.
+        This property is often used with an <code class="property">'animation-direction'</code> value of
+        <code class="css">alternate</code>, which will cause the animation to play in reverse on alternate cycles.
       </p>
       <table class="propdef">
         <tbody>
@@ -735,10 +739,10 @@
         </tbody>
       </table><!-- ======================================================================================================= -->
       <h3>
-        The <span class="prop-name">'animation-direction'</span> Property
+        The <code class="property">'animation-direction'</code> Property
       </h3>
       <p>
-        The <span class="prop-name">'animation-direction'</span> property defines whether or not the animation should play in reverse on alternate cycles. If <span class="prop-value">'alternate'</span> is specified, 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. 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.
+        The <code class="property">'animation-direction'</code> property defines whether or not the animation should play in reverse on alternate cycles. If <code class="css">alternate</code> is specified, 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. 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.
       </p>
       <table class="propdef">
         <tbody>
@@ -809,11 +813,11 @@
         </tbody>
       </table><!-- ======================================================================================================= -->
       <h3>
-        The <span class="prop-name">'animation-play-state'</span> Property
+        The <code class="property">'animation-play-state'</code> Property
       </h3>
 
       <p>
-        The <span class="prop-name">'animation-play-state'</span> property defines whether the animation is running or paused. A running animation can be paused by setting this property to <span class="prop-value">'paused'</span>. To continue running a paused animation this property can be set to <span class="prop-value">'running'</span>. 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.
+        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.
       </p>
       <table class="propdef">
         <tbody>
@@ -884,26 +888,25 @@
         </tbody>
       </table><!-- ======================================================================================================= -->
       <h3>
-        The <span class="prop-name">'animation-delay'</span> Property
+        The <code class="property">'animation-delay'</code> Property
       </h3>
       <p>
-        The <span class="prop-name">'animation-delay'</span> property defines
+        The <code class="property">'animation-delay'</code> property defines
         when the animation will start. It allows an animation to begin
-        execution some time after it is applied. An <span
-        class="prop-name">'animation-delay'</span> value of '0s' means the
+        execution some time after it is applied. An <code
+        class="property">'animation-delay'</code> value of '0s' means the
         animation will execute as soon as it is applied. Otherwise, the value
         specifies an offset from the moment the animation is applied, and the
         animation will delay execution by that offset.
       </p>
       <p>
-        If the value for <span class="prop-name">'animation-delay'</span> is a
+        If the value for <code class="property">'animation-delay'</code> is a
         negative time offset then the animation will execute the moment it is
         applied, but will appear to have begun execution at the specified
         offset. That is, the animation will appear to begin part-way through
         its play cycle. In the case where an animation has implied starting
-        values and a negative <span
-        class="prop-name">'animation-delay'</span>, the starting values are
-        taken from the moment the animation is applied.
+        values and a negative <code class="property">'animation-delay'</code>,
+        the starting values are taken from the moment the animation is applied.
       </p>
       <table class="propdef">
         <tbody>
@@ -974,41 +977,41 @@
         </tbody>
       </table><!-- ======================================================================================================= -->
       <h3>
-        The <span class="prop-name">'animation-fill-mode'</span> Property
+        The <code class="property">'animation-fill-mode'</code> Property
       </h3>
       <p>
-        The <span class="prop-name">'animation-fill-mode'</span> property defines
+        The <code class="property">'animation-fill-mode'</code> property defines
         what values are applied by the animation outside the time it is executing.
         By default, an animation will not affect property values between the
-        time it is applied (the <span class="prop-name">'animation-name'</span> property is
+        time it is applied (the <code class="property">'animation-name'</code> property is
         set on an element) and the time it begins execution (which is determined by
-        the <span class="prop-name">'animation-delay'</span> property). Also, by
+        the <code class="property">'animation-delay'</code> property). Also, by
         default an animation does not affect property values after the animation
-        ends (determined by the <span class="prop-name">'animation-duration'</span> property).
-        The value of <span class="prop-name">'animation-fill-mode'</span> can
+        ends (determined by the <code class="property">'animation-duration'</code> property).
+        The value of <code class="property">'animation-fill-mode'</code> can
         override this behavior.
       </p>
       <p>
-        If the value for <span class="prop-name">'animation-fill-mode'</span> is
-        <span class="prop-value">'backwards'</span>, then the animation will
+        If the value for <code class="property">'animation-fill-mode'</code> is
+        <code class="css">'backwards'</code>, then the animation will
         apply the property values defined in its 0% or 'from' keyframe as soon
         as the animation is applied, during the period defined by
-        <span class="prop-name">'animation-delay'</span>.
+        <code class="property">'animation-delay'</code>.
       </p>
       <p>
-        If the value for <span class="prop-name">'animation-fill-mode'</span>
-        is <span class="prop-value">'forwards'</span>, then the animation will
+        If the value for <code class="property">'animation-fill-mode'</code>
+        is <code class="css">'forwards'</code>, then the animation will
         apply the property values defined in its last executing keyframe after
         the final iteration of the animation, until the animation style is
         removed. The last executing keyframe is the 'to' or '100%' keyframe,
-        unless the animation has <span
-        class="prop-name">'animation-direction'</span> set to <span
-        class="prop-value">'alternate'</span> and both a finite and even
+        unless the animation has <code
+        class="property">'animation-direction'</code> set to <code
+        class="css">'alternate'</code> and both a finite and even
         iteration count, in which case it is the 'from' or '0%' keyframe.
       </p>
       <p>
-        If the value for <span class="prop-name">'animation-fill-mode'</span>
-        is <span class="prop-value">'both'</span>, then the animation will
+        If the value for <code class="property">'animation-fill-mode'</code>
+        is <code class="css">'both'</code>, then the animation will
         follow the rules for both 'forwards' and 'backwards'. That is, it will
         extend the animation properties in both directions.
       </p>
@@ -1081,10 +1084,10 @@
         </tbody>
       </table><!-- ======================================================================================================= -->
       <h3>
-        The <span class="prop-name">'animation'</span> Shorthand Property
+        The <code class="property">'animation'</code> Shorthand Property
       </h3>
       <p>
-        The <span class="prop-name">'animation'</span> shorthand property
+        The <code class="property">'animation'</code> shorthand property
         combines seven of the animation properties into a single property.
       </p>
       <p>
@@ -1187,12 +1190,12 @@
         system</a>. The start and end of an animation, and the end of each
         iteration of an animation all generate DOM events. An element can have
         multiple properties being animated simultaneously. This can occur either
-        with a single <span class="prop-name">animation-name</span> value with
-        keyframes containing multiple properties, or with multiple <span
-        class="prop-name">animation-name</span> values. For the purposes of
-        events, each <span class="prop-name">animation-name</span> specifies a
-        single animation. Therefore an event will be generated for each <span
-        class="prop-name">animation-name</span> value and not necessarily for
+        with a single <code class="property">animation-name</code> value with
+        keyframes containing multiple properties, or with multiple <code
+        class="property">animation-name</code> values. For the purposes of
+        events, each <code class="property">animation-name</code> specifies a
+        single animation. Therefore an event will be generated for each <code
+        class="property">animation-name</code> value and not necessarily for
         each property being animated.
       </p>
       <p>
@@ -1239,8 +1242,7 @@
                   <code class='attribute-name'><a id="Events-AnimationEvent-animationName" name='Events-AnimationEvent-animationName'>animationName</a></code> of type <code>DOMString</code>, readonly
                 </dt>
                 <dd>
-                  The value of the <span
-                  class="prop-name">animation-name</span> property of the
+                  The value of the <code class="property">animation-name</code> property of the
                   animation that fired the event.
                 </dd>
               </dl>
@@ -1253,7 +1255,7 @@
                   seconds, when this event fired, excluding any time the
                   animation was paused. For an "animationstart" event, the
                   elapsedTime is zero unless there was a negative value for
-                  <span class="prop-name">animation-delay</span>, in which
+                  <code class="property">animation-delay</code>, in which
                   case the event will be fired with an elapsedTime of (-1 *
                   delay).
                 </dd>
@@ -1328,8 +1330,8 @@
           <b>animationstart</b>
         </dt>
         <dd>
-          The 'animationstart' event occurs at the start of the animation. If there is an <span
-          class="prop-name">animation-delay</span> then this event will fire once the delay period
+          The 'animationstart' event occurs at the start of the animation. If there is an
+          <code class="property">animation-delay</code> then this event will fire once the delay period
           has expired. A negative delay will cause the event to fire with an elapsedTime equal to
           the absolute value of the delay.
           <ul>
Received on Monday, 30 January 2012 15:59:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:09 UTC