4 <style type="text/css" media="screen">
10 background-color: blue;
12 -webkit-animation-duration: 2s;
13 -webkit-animation-timing-function: linear;
14 -webkit-animation-iteration-count: 2;
15 -webkit-animation-direction: alternate;
16 -webkit-animation-name: move;
18 @-webkit-keyframes move {
31 /* Test reversing animation with missing values */
34 <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
35 <script type="text/javascript" charset="utf-8">
37 const expectedValues = [
38 // [animation-name, time, element-id, property, expected-value, tolerance]
39 ["move", 1, "box1", "left", 100, 15],
40 ["move", 2, "box1", "left", 0, 15],
41 ["move", 3, "box1", "left", 100, 15],
44 runAnimationTest(expectedValues);