Re: [csswg-drafts] [css-transitions-2] Exit animations (`@exit-style`) (#9500)

Correct. 'transition-behavior' probably didn't exist at the time this issue was posted (thus the demo in the OP showing you can't just transition it), but it exists and work now (try it in the demo - add `transition-behavior: allow-discrete;` to the third element's styles).

The reason for `@starting-style` to exist is because `display:none` stomps over most styles and prevents them from having *any* meaningful value to animate from. But that's not the case for transitioning *away*, so there shouldn't be any need for an `@ending-style`. 

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


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

Received on Saturday, 14 March 2026 06:17:13 UTC