| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| -webkit-box-reflect: right 10px; |
| -webkit-box-reflect: below 10px; |
| -webkit-animation: swing 1s linear 1; |
| -webkit-animation-play-state: paused; |
| -webkit-transform: translateZ(0); |
| @-webkit-keyframes swing { |
| from { -webkit-transform: rotate(0deg); } |
| to { -webkit-transform: rotate(90deg); } |
| <script src="../../animations/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] |
| ["swing", 0.5, "animated", "webkitTransform.0", 0.76, 0.1], |
| var disablePauseAPI = false; |
| runAnimationTest(expectedValues, null, null, disablePauseAPI, pixelTest); |
| <p>The top left box, and all reflections should be rotated 45deg.</p> |
| <div id="inner" class="inner"> |
| <div id="animated" class="animated"></div> |