| <style type="text/css" media="screen"> |
| -webkit-animation-duration: 2s; |
| -webkit-animation-timing-function: linear; |
| -webkit-animation-iteration-count: 2; |
| -webkit-animation-direction: alternate; |
| -webkit-animation-name: move; |
| @-webkit-keyframes move { |
| /* Test reversing animation with missing values */ |
| <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script> |
| <script type="text/javascript" charset="utf-8"> |
| // [animation-name, time, element-id, property, expected-value, tolerance] |
| ["move", 1, "box1", "left", 100, 15], |
| ["move", 2, "box1", "left", 0, 15], |
| ["move", 3, "box1", "left", 100, 15], |
| runAnimationTest(expectedValues); |