[csswg-drafts] [css-variables][css-transitions] Clarify transitions on custom properties (#7405)

devknoll has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-variables][css-transitions] Clarify transitions on custom properties ==
The [spec](https://drafts.csswg.org/css-variables) says:

> Notably, they can even be transitioned or animated, but since the UA has no way to interpret their contents, they always use the "flips at 50%" behavior that is used for any other pair of values that can’t be intelligently interpolated.

But what does "transitioned" mean here? I assumed it meant that I should be able to write `transition: --foo 1ms`, but this does not appear to be the case: at the very least, WPT does not appear to test for e.g. `transitionend` events on custom properties alone, instead apparently relying on being used in another property (e.g. `color`) to trigger a transition.

It might be useful to explicitly clarify whether custom properties (by themselves, not in conjunction with other properties) should trigger transitions.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7405 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 23 June 2022 01:56:06 UTC