Re: [csswg-drafts] [web-animations-1] Export dfns to expose the effect target of an animation (#8001)

> In the [view transitions spec](https://drafts.csswg.org/css-view-transitions-1/) we want to write prose about the element being animated by a specific animation.

The text for [`getAnimations`](https://drafts.csswg.org/web-animations-1/#dom-animatable-getanimations) might be useful here:

> Returns the set of [relevant](https://drafts.csswg.org/web-animations-1/#relevant-animation) [Animation](https://drafts.csswg.org/web-animations-1/#animation) objects that contain at least one [animation effect](https://drafts.csswg.org/web-animations-1/#animation-effect) whose [effect target](https://drafts.csswg.org/web-animations-1/#effect-target) is this object

Or are you trying to go in the other direction? An `Animation` can target `0..n` (pseudo-)elements so I guess it depends on the specific prose in mind.

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


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

Received on Friday, 4 November 2022 00:42:38 UTC