Skip to content

[web-animations-2] add a progress event - #14917

Open
graouts wants to merge 1 commit into
w3c:mainfrom
graouts:web-animations-progress-event
Open

graouts wants to merge 1 commit into
w3c:mainfrom
graouts:web-animations-progress-event

Conversation

@graouts

@graouts graouts commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Add the progress event and define a "queue a progress event" procedure. Addresses #14916.

@graouts graouts changed the title [web-animations-2] add a progress eventAdd the progress and define the "queue a progress event" procedure. [web-animations-2] add a progress event Dec 1, 2026
@ydaniv

ydaniv commented Dec 4, 2026 •

Copy link
Copy Markdown
Member
  1. Shouldn't we also define progress event for CSS Animations?

I think this poses a broader question: should newly-defined events dispatched on Animation objects also have a mirroring animation-prefixed DOM event dispatched from the target's element if created declaratively? My hunch would be to answer no here since getAnimations() makes it easy to get at the related Animation object and the AnimationEvent interface allows direct access to it.

  1. Could we expose also progress and overallProgress on the AnimationEvent?

I would also answer no here: these can be accessed via the existing APIs and pose very little difficulty to obtain. I would rather keep this simple and let more advanced usage involve custom effects.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants