10 background-color: red;
11 -webkit-animation-duration: 1s;
12 -webkit-animation-timing-function: linear;
13 -webkit-animation-iteration-count: infinite;
14 -webkit-animation-name: anim;
16 @-webkit-keyframes anim {
21 <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
22 <script type="text/javascript" charset="utf-8">
23 const expectedValues = [
24 // [time, element-id, property, expected-value, tolerance]
25 [2.5, "box", "left", 50, 5],
28 runAnimationTest(expectedValues);
33 <div id="result"></div>