@@ -785,7 +785,7 @@ Using Cascading Variables: the ''var()'' notation</h2>
785785 <ol>
786786 <li>
787787 If the <a>custom property</a> named by the first argument to the ''var()'' function is <a>animation-tainted</a> ,
788- and the ''var()'' function is being used in property that is [=not animatable=] ,
788+ and the ''var()'' function is being used in a property that is [=not animatable=] ,
789789 treat the <a>custom property</a> as having its initial value for the rest of this algorithm.
790790
791791 <li>
@@ -1249,6 +1249,27 @@ Changes Since the 03 December 2015 CR</h3>
12491249 made <<declaration-value>> optional in the custom property grammar,
12501250 so that empty variables are still allowed.
12511251 (<a href="https://github.com/w3c/csswg-drafts/issues/774#issuecomment-434571254">Issue 774</a> )
1252+ * Similarly, made empty fallbacks valid in ''var()'' .
1253+ * The '-' property is reserved for future use by CSS.
1254+ * Added concept of "animation-tainted",
1255+ to prevent non-animatable properties
1256+ from using a variable to smuggle in some animatability.
1257+ * Defined the [=guaranted-invalid value=]
1258+ to make the initial value of custom properties
1259+ and the result of cycles or substitution failure
1260+ more straightforward,
1261+ and allow failure to propagate thru substitutions
1262+ until finally intercepted by a fallback.
1263+ * Defined that cycles trigger [=invalid at computed-value time=] behavior.
1264+ * Allowed variables to resolve to a CSS-wide keyword
1265+ (only possible by providing it as a fallback).
1266+ * Clarified that [=registered custom properties=] act like non-custom properties
1267+ when they're [=invalid at computed-value time=] .
1268+ * Made longhands with ''var()'' s also trigger their shorthands to be unserializable,
1269+ like longhands with pending-substitution values already did.
1270+ * Required UAs to defend against exponential substitution attacks.
1271+ * Defined how to serialize the <em> values</em> of custom properties
1272+ (previously, only the property name's serialization was specified).
12521273
12531274<h3 id='changes-20140506'>
12541275Changes since the May 6 2014 Last Call Working Draft</h2>
0 commit comments