Re: [csswg-drafts] [css-view-transitions-1] Spec should not define web exposed keyframes (#8887)

@annevk the comment thread on the issue itself touches upon some of the complexities associated with hiding this from authors:

- What to do if author stylesheet declares the same keyframe name, which one applies. Do we have to carry around the source of the keyframe and style rule which sets the `animation` property.
- How to hide this from script APIs that can read the keyframe name and keyframe values?

Interestingly, at the time we discussed https://github.com/w3c/csswg-drafts/issues/7560 we were only considering the awkwardness to handle the cases above. We didn't have a use-case where the author needed to refer to these keyframes in their stylesheet. As I mentioned in the comment above, now we've seen developers build transitions which need this to do additive animations.

Can you clarify the concerns with this approach?

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


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

Received on Wednesday, 21 June 2023 16:48:33 UTC