Skip to content

Commit 6afcbc9

Browse files
committed
[css-animations-2][editorial] Improve paragaph about instantaneous animations.
1 parent 5ae8f0d commit 6afcbc9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

css-animations-2/Overview.bs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -449,18 +449,18 @@ Declaring Animations</h2>
449449
</dl>
450450
451451
If the [=used value|used=] 'animation-duration' is ''0s'',
452-
the keyframes of the animation have no effect,
453-
but the animation itself still occurs instantaneously.
454-
Specifically, start and end events are fired;
455-
if 'animation-fill-mode' is set to ''backwards'' or ''both'',
456-
the first frame of the animation,
457-
as defined by 'animation-direction',
458-
will be displayed during the 'animation-delay'.
459-
After the 'animation-delay' the last frame of the animation,
460-
as defined by 'animation-direction',
461-
will be displayed if 'animation-fill-mode' is set to ''forwards'' or ''both''.
462-
If 'animation-fill-mode' is set to ''animation-fill-mode/none''
463-
the animation will have no visible effect.
452+
the animation itself still occurs (instantaneously).
453+
The animation’s start and end events are still fired.
454+
If 'animation-fill-mode' is set to ''backwards'' or ''both'',
455+
the first frame of the animation
456+
(as defined by 'animation-direction')
457+
will be displayed during the 'animation-delay';
458+
and if 'animation-fill-mode' is set to ''forwards'' or ''both'',
459+
the last frame of the animation
460+
(as defined by 'animation-direction')
461+
will be displayed after the 'animation-delay'.
462+
However, if 'animation-fill-mode' is set to ''animation-fill-mode/none''
463+
the keyframes of the animation animation will have no noticeable effect.
464464
465465
## The 'animation-timing-function' property ## {#animation-timing-function}
466466

0 commit comments

Comments
 (0)