10 border:
1px solid black;
20 -webkit-animation: spin
5s linear infinite;
23 @-webkit-keyframes spin {
24 0% { transform: rotate(
0); }
25 100% { transform: rotate(
360deg); }
31 background-color: blue;
32 -webkit-transition: left
1s linear;
35 #container.animating #transition-tester {
40 <script src=
"../../animations/resources/animation-test-helpers.js"></script>
42 const expectedValues
= [
43 // [time, element-id, property, expected-value, tolerance]
44 [0.5, 'transition-tester', 'left', 10, 2],
49 document
.getElementById('container').className
= 'animating';
52 runTransitionTest(expectedValues
, setupTest
);
57 <p>Tests that starting an animation on an element inside a visibility:hidden element does not block later transitions.
</p>
58 <div id=
"container" class=
"container">
59 <div id=
"transition-tester" class=
"box"></div>
61 <div class=
"middle box">
62 <div class=
"inner box"></div>
66 <div id=
"result"></div>