[csswg-drafts] [css-transitions] Is transitioning of discrete animation typed properties allowed? (#8332)

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

== [css-transitions] Is transitioning of discrete animation typed properties allowed? ==
(Unless I missed it) the spec doesn't say anything about discrete animation (or non-interpolable) properties.

I created a [test case](https://jsfiddle.net/c54pt17h/) that sets a 2s transition on `list-style-type` and `float` properties. Neither Chrome nor Firefox create a transition for them (so visual changes take place immediately), while I'm expecting visual changes at around 1s.

However, it doesn't make much sense to transition properties that can't be smoothly interpolated, since the whole purpose of CSS transition is to enable smooth transitioning. So if the spec currently allows it, we should just disallow it.

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


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

Received on Wednesday, 18 January 2023 23:00:29 UTC