Re: [csswg-drafts] [css-display] Why is display listed as not animatable instead of animation type: discrete? (#6429)

Thanks @josepharhar for the implementation experience!

I believe that changing the cancellation rules for css animations to be only when the base computed style *and* the animated display style both produce `none` is much simpler to understand and explain, so I'd like to propose going with this since the implementation experience suggests that this works (and also that it has fewer special cases).

This is also consistent with the way that animations of `content` to none on pseudo-elements behave in Firefox today (animation keeps running), and conceptually similar to animating visibility.

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


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

Received on Tuesday, 11 April 2023 17:57:52 UTC