Skip to content

Commit f6d73eb

Browse files
committed
[css-animations] Back to Bikeshed issues, now that I've fixed the minor bug. ^_^
1 parent a70637d commit f6d73eb

2 files changed

Lines changed: 254 additions & 257 deletions

File tree

css-animations/Overview.bs

Lines changed: 30 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ Animations</h2>
9797
animated value.
9898

9999
The start time of an animation is the time at which the style that defines
100-
the animation is resolved. An animation specified by dynamically modifying
101-
the element's style will start when this style is resolved; that may be
102-
immediately in the case of a pseudo style rule such as hover, or may be
103-
when the scripting engine returns control to the browser (in the case of
100+
the animation is resolved. An animation specified by dynamically modifying
101+
the element's style will start when this style is resolved; that may be
102+
immediately in the case of a pseudo style rule such as hover, or may be
103+
when the scripting engine returns control to the browser (in the case of
104104
style applied by script).
105105

106106
An animation applies to an element if its name appears as one of the
@@ -193,10 +193,8 @@ Keyframes</h2>
193193
'animation-timing-function', the behavior of which is described below. In addition, keyframe rule
194194
declarations qualified with !important are ignored.
195195

196-
<p class="issue">
197-
Need to describe what happens if a property is not present in all keyframes.
198-
</p>
199-
196+
Issue: Need to describe what happens if a property is not present in all keyframes.
197+
200198
The @keyframes rule that is used by an animation will be the last one encountered in sorted rules
201199
order that matches the name of the animation specified by the 'animation-name' property. It must be
202200
noted that @keyframes rules cascade; therefore, an animation may derive keyframes from more than one
@@ -214,7 +212,7 @@ Keyframes</h2>
214212
from {
215213
margin-left: 0px;
216214
}
217-
215+
218216
50% {
219217
margin-left: 110px;
220218
opacity: 1;
@@ -234,9 +232,9 @@ Keyframes</h2>
234232
At the 1s mark, the slide-right animation will have the same state as if we had defined the 50% rule like this:
235233

236234
<pre>
237-
235+
238236
@keyframes slide-right {
239-
237+
240238
50% {
241239
margin-left: 110px;
242240
opacity: 0.9;
@@ -247,7 +245,7 @@ Keyframes</h2>
247245
}
248246

249247
}
250-
</pre>
248+
</pre>
251249

252250
</div>
253251

@@ -365,23 +363,23 @@ Timing functions for keyframes</h3>
365363
<h3 id="animation-name">
366364
The 'animation-name' property</h3>
367365

368-
The 'animation-name' property defines a list of animations that apply. Each name is used to select
369-
the keyframe at-rule that provides the property values for the animation. If the name does not match
370-
any keyframe at-rule, there are no properties to be animated and the animation will not execute.
371-
Furthermore, if the animation name is <code>none</code> then there will be no animation. This can be
372-
used to override any animations coming from the cascade. If multiple animations are attempting to
366+
The 'animation-name' property defines a list of animations that apply. Each name is used to select
367+
the keyframe at-rule that provides the property values for the animation. If the name does not match
368+
any keyframe at-rule, there are no properties to be animated and the animation will not execute.
369+
Furthermore, if the animation name is <code>none</code> then there will be no animation. This can be
370+
used to override any animations coming from the cascade. If multiple animations are attempting to
373371
modify the same property, then the animation closest to the end of the list of names wins.
374372

375-
Each animation listed by name should have a corresponding value for the other animation properties
376-
listed below. If the lists of values for the other animation properties do not have the same length,
377-
the length of the 'animation-name' list determines the number of items in each list examined when
378-
starting animations. The lists are matched up from the first value: excess values at the end are not
379-
used. If one of the other properties doesn't have enough comma-separated values to match the number of
380-
values of 'animation-name', the UA must calculate its used value by repeating the list of values until
381-
there are enough. This truncation or repetition does not affect the computed value.
373+
Each animation listed by name should have a corresponding value for the other animation properties
374+
listed below. If the lists of values for the other animation properties do not have the same length,
375+
the length of the 'animation-name' list determines the number of items in each list examined when
376+
starting animations. The lists are matched up from the first value: excess values at the end are not
377+
used. If one of the other properties doesn't have enough comma-separated values to match the number of
378+
values of 'animation-name', the UA must calculate its used value by repeating the list of values until
379+
there are enough. This truncation or repetition does not affect the computed value.
382380

383-
Note: This is analogous to the behavior of the ‘background-*’properties, with ‘background-image’ analogous
384-
to 'animation-name'.
381+
Note: This is analogous to the behavior of the ‘background-*’properties, with ‘background-image’ analogous
382+
to 'animation-name'.
385383

386384
<pre class='propdef'>
387385
Name: animation-name
@@ -606,9 +604,9 @@ The 'animation-play-state' property</h3>
606604
The animation continues to apply to the element with the progress it had made before being paused.
607605
When unpaused (set back to ''running''), it restarts from where it left off,
608606
as if the "clock" that controls the animation had stopped and started again.
609-
610-
If the property is set to ''paused'' during the delay phase of the animation,
611-
the delay clock is also paused and resumes as soon as 'animation-play-state' is set back to ''running''.
607+
608+
If the property is set to ''paused'' during the delay phase of the animation,
609+
the delay clock is also paused and resumes as soon as 'animation-play-state' is set back to ''running''.
612610
</dl>
613611

614612
<h3 id="animation-delay">
@@ -697,16 +695,12 @@ The 'animation-fill-mode' property</h3>
697695
but a forwards fill will still apply the values of the ''100%'' keyframe,
698696
not whatever values were being applied at the time the animation stopped executing.
699697

700-
<p class="issue">
701-
Why does it ignore the progress made by a non-integer iteration count?
702-
</p>
698+
Issue: Why does it ignore the progress made by a non-integer iteration count?
703699

704-
<p class="issue">
705-
What happens with ''animation-duration: 0; animation-iteration-count: infinite;''?
700+
Issue: What happens with ''animation-duration: 0; animation-iteration-count: infinite;''?
706701
The animation is instantaneous,
707702
but there is no "last complete iteration".
708703
In particular, you can't tell whether to use the 0% or 100% keyframe.
709-
</p>
710704

711705
<dt><dfn>backwards</dfn>
712706
<dd>
@@ -784,10 +778,8 @@ Animation Events</h2>
784778
Any animation for which both a valid keyframe rule and a non-zero duration are defined will run
785779
and generate events; this includes animations with empty keyframe rules.
786780

787-
<p class="issue">
788-
This contradicts the 'animation-delay' section,
781+
Issue: This contradicts the 'animation-delay' section,
789782
which says that a ''0s'' duration animation still fires events.
790-
</p>
791783

792784
The time the animation has been running is sent with each event generated. This allows the event
793785
handler to determine the current iteration of a looping animation or the current position of an

0 commit comments

Comments
 (0)