You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p> If the <aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#time-valuetitle="<time>"><time></a> is <spanclass=cssdata-link-type=maybetitle=0s>0s</span>, like the initial value,
540
539
the keyframes of the animation have no effect,
541
540
but the animation itself still occurs instantaneously.
542
-
That is, <aclass=propertydata-link-type=propdeschref=#propdef-animation-fill-modetitle=animation-fill-mode>animation-fill-mode</a> applies as normal,
543
-
filling backwards or forwards as appropriate;
544
-
start and end events are fired.
541
+
Specifically, start and end events are fired; if
542
+
<aclass=propertydata-link-type=propdeschref=#propdef-animation-fill-modetitle=animation-fill-mode>animation-fill-mode</a> is set to <aclass=cssdata-link-type=maybehref=#valuedef-backwardstitle=backwards>backwards</a> or
543
+
<aclass=cssdata-link-type=maybehref=#valuedef-bothtitle=both>both</a>, the first frame of the animation, as defined by
544
+
<aclass=propertydata-link-type=propdeschref=#propdef-animation-directiontitle=animation-direction>animation-direction</a>, will be displayed during the
545
+
<aclass=propertydata-link-type=propdeschref=#propdef-animation-delaytitle=animation-delay>animation-delay</a>. Then the last frame of the animation,
546
+
as defined by <aclass=propertydata-link-type=propdeschref=#propdef-animation-directiontitle=animation-direction>animation-direction</a>, will be displayed if
547
+
<aclass=propertydata-link-type=propdeschref=#propdef-animation-fill-modetitle=animation-fill-mode>animation-fill-mode</a> is set to <aclass=cssdata-link-type=maybehref=#valuedef-forwardstitle=forwards>forwards</a> or <aclass=cssdata-link-type=maybehref=#valuedef-bothtitle=both>both</a>.
548
+
If <aclass=propertydata-link-type=propdeschref=#propdef-animation-fill-modetitle=animation-fill-mode>animation-fill-mode</a> is set to <aclass=cssdata-link-for=animation-fill-modedata-link-type=maybehref=#valuedef-nonetitle=none>none</a>
<p>A value of <spanclass=cssdata-link-type=maybetitle=0>0</span> is valid and, similar to an <aclass=propertydata-link-type=propdeschref=#propdef-animation-durationtitle=animation-duration>animation-duration</a>
595
600
of <spanclass=cssdata-link-type=maybetitle=0s>0s</span>, causes the animation to occur instantaneously.
596
-
Specifically, if <aclass=propertydata-link-type=propdeschref=#propdef-animation-fill-modetitle=animation-fill-mode>animation-fill-mode</a> is set to <aclass=cssdata-link-type=maybehref=#valuedef-backwardstitle=backwards>backwards</a> or
597
-
<aclass=cssdata-link-type=maybehref=#valuedef-bothtitle=both>both</a>, the first frame of the animation, as defined by
598
-
<aclass=propertydata-link-type=propdeschref=#propdef-animation-directiontitle=animation-direction>animation-direction</a>, will be displayed during the
599
-
<aclass=propertydata-link-type=propdeschref=#propdef-animation-delaytitle=animation-delay>animation-delay</a>. Then the last frame of the animation,
600
-
as defined by <aclass=propertydata-link-type=propdeschref=#propdef-animation-directiontitle=animation-direction>animation-direction</a>, will be displayed if
601
-
<aclass=propertydata-link-type=propdeschref=#propdef-animation-fill-modetitle=animation-fill-mode>animation-fill-mode</a> is set to <aclass=cssdata-link-type=maybehref=#valuedef-forwardstitle=forwards>forwards</a> or <aclass=cssdata-link-type=maybehref=#valuedef-bothtitle=both>both</a>.
602
-
If <aclass=propertydata-link-type=propdeschref=#propdef-animation-fill-modetitle=animation-fill-mode>animation-fill-mode</a> is set to <aclass=cssdata-link-for=animation-fill-modedata-link-type=maybehref=#valuedef-nonetitle=none>none</a>
603
-
then the animation has no effect.
604
-
605
-
<pclass=issueid=issue-ef1c522a><aclass=self-linkhref=#issue-ef1c522a></a>If similar to animation-duration:0s, also relates to whether
606
-
animation events fire?
607
601
</dl>
608
602
603
+
<p> If the animation has a duration of <spanclass=cssdata-link-type=maybetitle=0s>0s</span>, it will occur instantaneously for any
604
+
valid value of <aclass=propertydata-link-type=propdeschref=#propdef-animation-iteration-counttitle=animation-iteration-count>animation-iteration-count</a>, including <aclass=cssdata-link-type=maybehref=#valuedef-infinitetitle=infinite>infinite</a>.
The <aclass=propertydata-link-type=propdeschref=#propdef-animation-directiontitle=animation-direction>animation-direction</a> property</span><aclass=self-linkhref=#animation-direction></a></h3>
<tr><thscope=row><adata-property="">animation</a><td><single-animation>#<td>see individual properties<td>all elements, ::before and ::after pseudo-elements<td>no<td>N/A<td>interactive<td>no<td>per grammar<td>As specified</table></div>
1340
1337
1341
1338
1342
-
</ul><h2class="no-num heading settled" id=issues-index><spanclass=content>Issues Index</span><aclass=self-linkhref=#issues-index></a></h2><divstyle="counter-reset: issue"><divclass=issue>If similar to animation-duration:0s, also relates to whether
0 commit comments