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

I don't see how this would work. The thing about `@starting-style` is that when an element becomes rendered, it gets the styles from `@starting-style`, and then transitions towards the normal styles.

But with this, once the element stops being rendered, it immediately disappears, so no transition is possible. We would either need to delay the actual removal until the transition finishes, which seems to open a can of worms, or somehow detect that the element is going to be removed before it happens and start the transition then.

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


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

Received on Thursday, 19 October 2023 19:45:42 UTC