Skip to content

Commit 5e73a70

Browse files
committed
[css-variables-1] Clarify the transition behavior of custom properties in a note. w3c#7405
1 parent 929f383 commit 5e73a70

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

css-variables-1/Overview.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Defining Custom Properties: the '--*' family of properties</h2>
268268
variable-reference-visited.html
269269
</wpt>
270270

271-
Notably, they can even be transitioned or animated,
271+
Notably, they can even be animated,
272272
but since the UA has no way to interpret their contents,
273273
they always use the "flips at 50%" behavior
274274
that is used for any other pair of values that can't be intelligently interpolated.
@@ -288,6 +288,11 @@ Defining Custom Properties: the '--*' family of properties</h2>
288288
variable-animation-to-only.html
289289
</wpt>
290290

291+
Note: Like any other property that animates discretely,
292+
custom properties can't be transitioned.
293+
[=Registered custom properties=] can, however,
294+
if given a syntax that has non-discrete animation behavior.
295+
291296
[=Animation-tainted=] is "infectious":
292297
custom properties which reference [=animation-tainted=] properties
293298
also become [=animation-tainted=].

0 commit comments

Comments
 (0)