Support specifying display and content-visibility in animations. This support allows for developers to create exit animations after which the element automatically becomes display: none or content-visibility: hidden without needing to write any javascript to handle that switch after the animation is finished. This allows exit animations for elements to be added purely in CSS.
It has long been an ergonomic challenge that to animate the removal of some content you had to have a listener clean up the element after the animation finished. Also several new browser features such as <dialog> and popover implicitly switch to display none when they close. Being able to extend the non-none display in a CSS animation or transition allows for easy ergonomic exit animations without adding JS listeners.
Developers may have display specified in existing animations which would start being included in their animation after this change.
This doesn't extend developer capabilities beyond styles the developer could set via existing CSS or scripts.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
This feature extends the capabilities of existing css animations, css transitions and web animations and will show amongst other developer animations.
No milestones specified