| horizontal 2s ease-in 1 alternate, |
| vertical 2s ease-out 1 alternate; |
| @-webkit-keyframes horizontal { |
| @-webkit-keyframes vertical { |
| <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] |
| ["horizontal", 0.5, "box", "left", 18, 10], |
| ["horizontal", 1.5, "box", "left", 124, 10], |
| ["vertical", 0.5, "box", "top", 75, 10], |
| ["vertical", 1.5, "box", "top", 181, 10], |
| runAnimationTest(expectedValues); |