Re: [csswg-drafts] [css-transitions-2] Start transitions on discrete animation types (#4441)

> What about not allowing `all` or any shorthand to ever match discrete properties but still creating transitions for them (using the behavior from option 1) if they are explicitly listed? e.g. `transition-property: all, overflow-x`?

@birtles I like the idea of having `transition: all` match everything that is animatable and not discrete, and allowing developers to explicitly specify discrete properties if they want them to participate in transitions.

> The other option that comes to mind is simply to add extra syntax for this, be it an extra property (`transition-property-set: discrete-too`) or extra syntax attached to property names.

I think that having `discrete` as something that could be specified in addition to all would be nice.

Thinking about this I'm realizing developers could also use transition events as a way to detect style changes. Not sure if this is an explicit use case we should support but it's interesting to think about what people might do with that.

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


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

Received on Sunday, 20 November 2022 16:57:25 UTC