11 horizontal 2s ease-in 1 alternate,
12 vertical 2s ease-out 1 alternate;
15 @-webkit-keyframes horizontal {
20 @-webkit-keyframes vertical {
25 <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
26 <script type="text/javascript" charset="utf-8">
27 const expectedValues = [
28 // [animation-name, time, element-id, property, expected-value, tolerance]
29 ["horizontal", 0.5, "box", "left", 18, 10],
30 ["horizontal", 1.5, "box", "left", 124, 10],
31 ["vertical", 0.5, "box", "top", 75, 10],
32 ["vertical", 1.5, "box", "top", 181, 10],
35 runAnimationTest(expectedValues);
40 <div id="result"></div>