5 <title>Transitioning object-position
</title>
10 object-position:-
50px -
50px;
11 transition-duration:
0.5s;
12 transition-timing-function: linear;
13 transition-property: object-position;
16 <script src=
"../animations/resources/animation-test-helpers.js"></script>
18 const expectedValues
= [
19 // [time, element-id, property, expected-value, tolerance]
20 [0.25, 'box', 'object-position', "25px 75px", 10]
25 document
.getElementById('box').style
.objectPosition
= "100px 200px";
27 runTransitionTest(expectedValues
, setupTest
);
31 <img id=
"box" src=
"../animations/resources/stripes-100.png">
32 <div id=
"result"></div>