@@ -154,6 +154,17 @@ The <dfn>owning element</dfn> of an animation refers to the element or
154
154
pseudo-element to which the 'animation-name' property was applied that generated
155
155
the animation.
156
156
157
+ If the 'display' property of an element is set to ''display/none''
158
+ and its 'display' value would compute to ''display/none'' when ignoring the Transitions and Animations [=cascade origins=] ,
159
+ then terminate running animations with this <a>owning element</a> .
160
+ If an element has a 'display' of ''display/none'' and
161
+ its 'display' value had computed to ''display/none'' when ignoring the Transitions and Animations [=cascade origins=] ,
162
+ updating 'display' to a value other than ''display/none''
163
+ will start all animations applied to the element by the 'animation-name' property.
164
+
165
+ Note: In practice, this means that an animation to a 'display' value of ''display/none'' will not terminate running animations
166
+ unless the style also computes to ''display/none'' without the effect of the animations.
167
+
157
168
If an animation generated using the markup defined in this specification is
158
169
later disassociated from that markup by an update to the computed value of the
159
170
'animation-name' property on the <a>owning element</a> , the animation is
@@ -597,7 +608,7 @@ Initial: auto
597
608
Applies to: all elements
598
609
Inherited: no
599
610
Percentages: N/A
600
- Computed value: list, each item either a case-sensitive [=css identifier=] or
611
+ Computed value: list, each item either a case-sensitive [=css identifier=] or
601
612
the keywords '' single-animation-timeline/none'',
602
613
'' single-animation-timeline/auto''.
603
614
Canonical order: per grammar
@@ -877,12 +888,12 @@ console.log(anim.playState); // Should be 'running'.
877
888
878
889
<h2 id="priv">
879
890
Privacy Considerations</h2>
880
-
891
+
881
892
No privacy concerns have been reported on this specification.
882
-
893
+
883
894
<h2 id="sec">
884
895
Security Considerations</h2>
885
-
896
+
886
897
No security concerns have been reported on this specification.
887
898
888
899
<h2 id="changes">Changes</h2>
@@ -891,8 +902,8 @@ console.log(anim.playState); // Should be 'running'.
891
902
892
903
<ul>
893
904
<li>
894
- The interaction between CSS Animations and Web Animations is defined,
895
- and the concepts of the owning element and animation composite order
905
+ The interaction between CSS Animations and Web Animations is defined,
906
+ and the concepts of the owning element and animation composite order
896
907
are introduced.
897
908
</li>
898
909
<li>
0 commit comments