11cb0ef41Sopenharmony_ci<!DOCTYPE html>
21cb0ef41Sopenharmony_ci<meta charset="utf-8">
31cb0ef41Sopenharmony_ci<title>Prefixed CSS Animation iteration events</title>
41cb0ef41Sopenharmony_ci<link rel="help" href="https://dom.spec.whatwg.org/#concept-event-listener-invoke">
51cb0ef41Sopenharmony_ci
61cb0ef41Sopenharmony_ci<script src="/resources/testharness.js"></script>
71cb0ef41Sopenharmony_ci<script src="/resources/testharnessreport.js"></script>
81cb0ef41Sopenharmony_ci
91cb0ef41Sopenharmony_ci<body>
101cb0ef41Sopenharmony_ci
111cb0ef41Sopenharmony_ci<script src="resources/prefixed-animation-event-tests.js"></script>
121cb0ef41Sopenharmony_ci<script>
131cb0ef41Sopenharmony_ci'use strict';
141cb0ef41Sopenharmony_ci
151cb0ef41Sopenharmony_cirunAnimationEventTests({
161cb0ef41Sopenharmony_ci  unprefixedType: 'animationiteration',
171cb0ef41Sopenharmony_ci  prefixedType: 'webkitAnimationIteration',
181cb0ef41Sopenharmony_ci  // Use a long duration to avoid missing the animation due to slow machines,
191cb0ef41Sopenharmony_ci  // but set a negative delay so that the iteration boundary happens shortly
201cb0ef41Sopenharmony_ci  // after the animation starts.
211cb0ef41Sopenharmony_ci  animationCssStyle: '100s -99.9s 2',
221cb0ef41Sopenharmony_ci});
231cb0ef41Sopenharmony_ci</script>
24