Skip to content

Extra animationiteration event gets fired #45992

Open

Description

@Loirooriol
<!DOCTYPE html>
<style>
@keyframes keyframes {}
:root { animation: 1s -4s 8 keyframes }
</style>
<script>
document.documentElement.addEventListener("animationiteration", e => {
  console.log(e.elapsedTime);
});
</script>

Actual:

4
5
6
7

Expected:

5
6
7

Activity

  1. added
    A-content/script
    on Jun 25, 2026
  2. Loirooriol commented on Jun 26, 2026

    @Loirooriol
    ContributorAuthor

    Test coverage: /css/css-animations/animation-iteration-event-001.html
    Marked as intermittent for now: #46004

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/script

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions