- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 Jul 2023 17:46:07 +0000
- To: public-css-archive@w3.org
Yes, it's not possible in general. The issue is that neither Transitions nor Animations recognizes the *concept* of state changes (entries or exits). Transitions is based purely on *property* changes (which'll often, but not entirely, map to a state change), while Animations run while an element is *in* a state. You can *fake* an entry animation by running the animation only once, but because it's just fakery you can't do the opposite and get an exit animation out of it. At a fundamental level, the model that T&A were defined to work on doesn't map to state changes. So yeah we'd need to do something novel to actually solve this. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9062#issuecomment-1634653075 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 13 July 2023 17:46:09 UTC