| -webkit-animation: spin 5s linear infinite; |
| @-webkit-keyframes spin { |
| 0% { -webkit-transform: rotate(0); } |
| 100% { -webkit-transform: rotate(360deg); } |
| -webkit-transition: left 1s linear; |
| #container.animating #transition-tester { |
| <script src="../../transitions/resources/transition-test-helpers.js"></script> |
| // [time, element-id, property, expected-value, tolerance] |
| [0.5, 'transition-tester', 'left', 10, 2], |
| document.getElementById('container').className = 'animating'; |
| runTransitionTest(expectedValues, setupTest, usePauseAPI); |
| <p>Tests that starting an animation on an element inside a visibility:hidden element does not block later transitions.</p> |
| <div id="container" class="container"> |
| <div id="transition-tester" class="box"></div> |
| <div class="inner box"></div> |