Re: [csswg-drafts] [css-animations] Define `animation-behavior` (counterpart to `transition-behavior`) (#10469)

> Yes, CSS animations always allowed animating discrete properties.

Not always :) It was a resolution we made [in 2012](https://lists.w3.org/Archives/Public/www-style/2012Nov/0261.html). 

----

I would _really_ like to avoid adding yet another property for this and find a mechanism for providing property-specific or value-specific params to transitions/animations. It seems there is precedent with `transition-behavior`, so we should just adopt that. If `allow-discrete` is default for animations, it could be part of its initial value, or simply not included at all.

Web Animations can just define a `behavior` option that takes the same values, no?

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10469#issuecomment-2180458044 using your GitHub account


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

Received on Thursday, 20 June 2024 11:35:33 UTC