| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <title>Keyframe Timing Functions</title> |
| <style type="text/css" media="screen"> |
| -webkit-animation-name: move; |
| -webkit-animation-duration: 1.5s; |
| @-webkit-keyframes move { |
| -webkit-animation-timing-function: linear; |
| <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", 0.75, "box", "left", 300, 20], |
| runAnimationTest(expectedValues); |
| This test should do a linear animation. The timing-function comes from the keyframe, so this is testing |
| whether or not the timing function in keyframes is used. |