7 background-color: blue;
8 animation-duration:
1s;
11 animation-name: multipleUsesFirst;
14 animation-name: inheritUsesParent;
15 animation-timing-function: linear;
19 animation-timing-function: step-end;
21 @keyframes multipleUsesFirst {
24 animation-timing-function: step-end, ease;
28 @keyframes inheritUsesParent {
31 animation-timing-function: inherit;
36 <script src=
"resources/animation-test-helpers.js"></script>
38 const expectedValues
= [
39 // [time, element-id, property, expected-value, tolerance]
40 [0.2, "multipleUsesFirst", "left", 0, 0],
41 [0.2, "inheritUsesParent", "left", 0, 0],
43 runAnimationTest(expectedValues
);
45 Tests whether timing functions inside keyframes are respected.
46 <div class=
"box" id=
"multipleUsesFirst"></div>
48 <div class=
"box" id=
"inheritUsesParent"></div>
50 <div id=
"result"></div>