Skip to content

Commit 14c4501

Browse files
author
Sylvain Galineau
committed
[css-animations] Clarify scope of animation-timing-function when used in @Keyframes
1 parent 7ad2c4d commit 14c4501

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

css-animations/Overview.bs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ Animations</h2>
105105
identifiers in the computed value of the 'animation-name' property and the
106106
animation uses a valid @keyframes rule. Once an
107107
animation has started it continues until it ends or the 'animation-name' is
108-
removed. Changing the values of the animation properties while the animation
109-
is running has no effect on the amount of time elapsed since the animation
110-
started running i.e. once the animation is running, updates to 'animation-delay'
111-
have no effect. The remainder of the animation runs according to the new
112-
animation property values.
108+
removed. Changing the values of animation properties while the animation
109+
is running has no effect on the amount of time that has elapsed since the
110+
animation started running i.e. once the animation is running, updates to
111+
'animation-delay' have no effect. The remainder of the animation runs
112+
according to the new animation property values.
113113

114114
Note also that changing the value
115115
of 'animation-name' does not necessarily restart an animation (e.g., if a list
@@ -477,9 +477,10 @@ The 'animation-timing-function' property</h3>
477477
ease in at the start of its second iteration,
478478
and ease out again as it approaches the end of the animation.
479479

480-
Note: Unlike other animation properties,
481-
'animation-timing-function' has an effect when specified on an individual keyframe.
482-
See <a section href="#timing-functions"></a> for more detail on this.
480+
When specified in a keyframe, 'animation-timing-function' defines the progression of the
481+
animation between the keyframe and the next keyframe in sorted keyframe selector order, or
482+
the end of the animation if no other keyframe is defined. The specified timing function will
483+
apply over this interval independently of the animation's current direction.
483484

484485
<h3 id="animation-iteration-count">
485486
The 'animation-iteration-count' property</h3>

css-animations/Overview.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</p>
5757
<h1 class="p-name no-ref" id=title>CSS Animations Level 1</h1>
5858
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
59-
<span class=dt-updated><span class=value-title title=20141016>16 October 2014</span></span></span></h2>
59+
<span class=dt-updated><span class=value-title title=20141020>20 October 2014</span></span></span></h2>
6060
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css3-animations/>http://dev.w3.org/csswg/css3-animations/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css3-animations/>http://www.w3.org/TR/css3-animations/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css3-animations/>http://dev.w3.org/csswg/css3-animations/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2013/WD-css3-animations-20130219/ rel=previous>http://www.w3.org/TR/2013/WD-css3-animations-20130219/</a><dd><a href=http://www.w3.org/TR/2012/WD-css3-animations-20120403/ rel=previous>http://www.w3.org/TR/2012/WD-css3-animations-20120403/</a>
6161
<dt>Feedback:</dt>
6262
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-animations%5D%20feedback">www-style@w3.org</a>
@@ -248,11 +248,11 @@ <h2 class="heading settled heading" data-level=3 id=animations><span class=secno
248248
identifiers in the computed value of the <a class=property data-link-type=propdesc href=#propdef-animation-name title=animation-name>animation-name</a> property and the
249249
animation uses a valid @keyframes rule. Once an
250250
animation has started it continues until it ends or the <a class=property data-link-type=propdesc href=#propdef-animation-name title=animation-name>animation-name</a> is
251-
removed. Changing the values of the animation properties while the animation
252-
is running has no effect on the amount of time elapsed since the animation
253-
started running i.e. once the animation is running, updates to <a class=property data-link-type=propdesc href=#propdef-animation-delay title=animation-delay>animation-delay</a>
254-
have no effect. The remainder of the animation runs according to the new
255-
animation property values.
251+
removed. Changing the values of animation properties while the animation
252+
is running has no effect on the amount of time that has elapsed since the
253+
animation started running i.e. once the animation is running, updates to
254+
<a class=property data-link-type=propdesc href=#propdef-animation-delay title=animation-delay>animation-delay</a> have no effect. The remainder of the animation runs
255+
according to the new animation property values.
256256

257257
<p> Note also that changing the value
258258
of <a class=property data-link-type=propdesc href=#propdef-animation-name title=animation-name>animation-name</a> does not necessarily restart an animation (e.g., if a list
@@ -572,9 +572,10 @@ <h3 class="heading settled heading" data-level=4.4 id=animation-timing-function>
572572
ease in at the start of its second iteration,
573573
and ease out again as it approaches the end of the animation.
574574

575-
<p class=note> Note: Unlike other animation properties,
576-
<a class=property data-link-type=propdesc href=#propdef-animation-timing-function title=animation-timing-function>animation-timing-function</a> has an effect when specified on an individual keyframe.
577-
See <a href=#timing-functions section=""></a> for more detail on this.
575+
<p> When specified in a keyframe, <a class=property data-link-type=propdesc href=#propdef-animation-timing-function title=animation-timing-function>animation-timing-function</a> defines the progression of the
576+
animation between the keyframe and the next keyframe in sorted keyframe selector order, or
577+
the end of the animation if no other keyframe is defined. The specified timing function will
578+
apply over this interval independently of the animation’s current direction.
578579

579580
<h3 class="heading settled heading" data-level=4.5 id=animation-iteration-count><span class=secno>4.5 </span><span class=content>
580581
The <a class=property data-link-type=propdesc href=#propdef-animation-iteration-count title=animation-iteration-count>animation-iteration-count</a> property</span><a class=self-link href=#animation-iteration-count></a></h3>

0 commit comments

Comments
 (0)