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
Copy file name to clipboardExpand all lines: css-animations/Overview.bs
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -602,9 +602,11 @@ The 'animation-play-state' property</h3>
602
602
While this property is set to ''paused'',
603
603
the animation is paused.
604
604
The animation continues to apply to the element with the progress it had made before being paused.
605
-
When unpaused (set back to ''running''),
606
-
it restarts from where it left off,
605
+
When unpaused (set back to ''running''), it restarts from where it left off,
607
606
as if the "clock" that controls the animation had stopped and started again.
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''.
608
610
</dl>
609
611
610
612
<h3 id="animation-delay">
@@ -1052,7 +1054,7 @@ Working Group Resolutions that are pending editing</h2>
1052
1054
<li>Animations only run if they contain at least one valid keyframe rule (<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15251">Bug</a>)
1053
1055
<li><del>When an element changes from display:none to display: non-none, animations start immediately (<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14785">Bug</a>)</del>
1054
1056
<li>An initially-paused animation is still started (fires start events etc.) (<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14774">Bug</a>)
1055
-
<li>Animations can be paused during their delay phase, which freezes the remaining delay to be applied after it unpauses (<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14774">Bug</a>)
1057
+
<li><del>Animations can be paused during their delay phase, which freezes the remaining delay to be applied after it unpauses (<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14774">Bug</a>)</del>
1056
1058
<li><del>animation-play-state has the same list behavior as the other animaton properties, matching the length of animation-name (<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14786">Bug</a>)</del>
While this property is set to <aclass=cssdata-link-type=maybehref=#valuedef-pausedtitle=paused>paused</a>,
662
662
the animation is paused.
663
663
The animation continues to apply to the element with the progress it had made before being paused.
664
-
When unpaused (set back to <aclass=cssdata-link-type=maybehref=#valuedef-runningtitle=running>running</a>),
665
-
it restarts from where it left off,
664
+
When unpaused (set back to <aclass=cssdata-link-type=maybehref=#valuedef-runningtitle=running>running</a>), it restarts from where it left off,
666
665
as if the "clock" that controls the animation had stopped and started again.
666
+
667
+
<p> If the property is set to <aclass=cssdata-link-type=maybehref=#valuedef-pausedtitle=paused>paused</a> during the delay phase of the animation,
668
+
the delay clock is also paused and resumes as soon as <aclass=propertydata-link-type=propdeschref=#propdef-animation-play-statetitle=animation-play-state>animation-play-state</a> is set back to <aclass=cssdata-link-type=maybehref=#valuedef-runningtitle=running>running</a>.
<li>Animations only run if they contain at least one valid keyframe rule (<ahref="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15251">Bug</a>)
1068
1070
<li><del>When an element changes from display:none to display: non-none, animations start immediately (<ahref="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14785">Bug</a>)</del>
1069
1071
<li>An initially-paused animation is still started (fires start events etc.) (<ahref="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14774">Bug</a>)
1070
-
<li>Animations can be paused during their delay phase, which freezes the remaining delay to be applied after it unpauses (<ahref="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14774">Bug</a>)
1072
+
<li><del>Animations can be paused during their delay phase, which freezes the remaining delay to be applied after it unpauses (<ahref="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14774">Bug</a>)</del>
1071
1073
<li><del>animation-play-state has the same list behavior as the other animaton properties, matching the length of animation-name (<ahref="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14786">Bug</a>)</del>
0 commit comments