- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Thu, 01 Jun 2023 00:50:30 +0000
- To: public-css-archive@w3.org
Thanks for bringing this up! Just a heads up, this was last discussed on https://github.com/w3c/csswg-drafts/issues/7560 and would have relevant context. The main use-case where we've found this useful is additive animations. Authors create effects which need a CSS animation on top of the UA defined one. For example, the UA will add a `transform` animation to move an element from its location in the old DOM to the location in the new DOM which has the keyframe name : `-ua-view-transition-group-anim-target`, where target is the view-transition-name on the 2 DOM elements. If an author wants to do a filter animation on top, they can simply add it by doing the following in their CSS: ```css ::view-transition-group(target) { animation: -ua-view-transition-group-anim-target 1s, my-animation 1s; } ``` The keyframe you linked above is static so its easy for authors to just write their own. But some UA keyframes generated for these elements are dynamic (depending on the size/position of the transitioning elements). And for those authors need to be able to refer the keyframe in their CSS for effects like these. @argyleink @bramus FYI. -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8887#issuecomment-1571151817 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 1 June 2023 00:50:32 UTC