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-display-4/Overview.bs
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -225,7 +225,7 @@ Box Layout Modes: the 'display' property</h2>
225
225
Applies to: all elements
226
226
Inherited: no
227
227
Computed value: a pair of keywords representing the [=inner display type|inner=] and [=outer display type|outer=] display types plus optional ''list-item'' flag, or a <<display-internal>> or <<display-box>> keyword; see prose in a variety of specs for computation rules
228
-
Animation type: not animatable
228
+
Animation type: see [[#display-animation]]
229
229
</pre>
230
230
231
231
<p class=all-media>User agents are expected to support this property on all media, including non-visual ones.
@@ -857,6 +857,23 @@ The Root Element’s Principal Box</h3>
857
857
858
858
Additionally, a 'display' of ''display/contents'' computes to ''block'' on the root element.
859
859
860
+
<h3 id='display-animation'>
861
+
Animating and Interpolating 'display'</h3>
862
+
863
+
In general,
864
+
the 'display' property’s [=animation type=] is [=discrete=].
865
+
However--
866
+
similar to when animating 'visibility'
867
+
(see [[web-animations-1#animating-visibility]])--
868
+
during interpolation between ''display/none''
869
+
and any other 'display' value,
870
+
<var>p</var> values between 0 and 1
871
+
map to the non-''display/none'' value.
872
+
873
+
Additionally,
874
+
the 'display' property is ignored
875
+
when specified in <a spec=web-animations-1>animation effects</a> or ''@keyframes'' rules.
876
+
860
877
<!--
861
878
██ ██ ███████ ██ ██ ████████
862
879
███ ██ ██ ██ ███ ██ ██
@@ -2091,6 +2108,7 @@ Additions since Level 3</h3>
2091
2108
2092
2109
* the 'layout-order' and 'reading-order'[=longhand properties=] of 'order'
0 commit comments