@@ -1066,8 +1066,30 @@ The <code>CSSContainerRule</code> interface</h3>
1066
1066
Suppressing An Element’s Contents Entirely: the 'content-visibility' property {#content-visibility}
1067
1067
=================
1068
1068
1069
+ <pre class=propdef>
1070
+ Name : content-visibility
1071
+ Value : visible | auto | hidden
1072
+ Initial : visible
1073
+ Inherited : no
1074
+ Applies to : elements for which [=size containment=] can apply
1075
+ Animation type : see [[#content-visibility-animation]]
1076
+ </pre>
1077
+
1069
1078
Issue: [[css-contain-2#content-visibility]]
1070
1079
1080
+ <h3 id='content-visibility-animation'>
1081
+ Animating and Interpolating 'content-visibility'</h3>
1082
+
1083
+ In general,
1084
+ the 'content-visibility' property’s [=animation type=] is [=discrete=] .
1085
+ However,
1086
+ similar to interpolation of 'visibility'
1087
+ (see [[web-animations-1#animating-visibility]] ),
1088
+ during interpolation between ''content-visibility/hidden''
1089
+ and any other 'content-visibility' value,
1090
+ <var> p</var> values between 0 and 1
1091
+ map to the non-''content-visibility/hidden'' value.
1092
+
1071
1093
Privacy Considerations {#privacy}
1072
1094
=================================
1073
1095
@@ -1103,6 +1125,8 @@ Changes since the 18 August 2022 Working Draft</h3>
1103
1125
* Correct typo in 'container-type' syntax, to clarify that ''normal'' cannot
1104
1126
be combined with other values.
1105
1127
(<a href="https://github.com/w3c/csswg-drafts/issues/7669">Issue 7669</a> )
1128
+ * Make the 'content-visibility' property animatable.
1129
+ (<a href="https://github.com/w3c/csswg-drafts/issues/8627">Issue 8627</a> )
1106
1130
1107
1131
<h3 id="changes-2021-12">
1108
1132
Changes since the 21 December 2021 First Public Working Draft</h3>
0 commit comments