10 -webkit-transition-duration:
1s;
11 -webkit-transition-timing-function: linear;
15 background: url('../fast/backgrounds/repeat/resources/gradient.gif') repeat
0 0;
16 -webkit-transition-property: background-position;
20 background-position:
20px
20px;
24 background: url('../fast/backgrounds/repeat/resources/gradient.gif') repeat
0 0;
25 -webkit-transition-property: -webkit-background-size;
26 -webkit-background-size:
10px
10px;
30 -webkit-background-size:
30px
30px;
34 <script src=
"../animations/resources/animation-test-helpers.js" type=
"text/javascript"></script>
37 const expectedValues
= [
38 // [time, element-id, property, expected-value, tolerance]
39 [0.5, 'box', 'background-position', [10, 10], 2],
40 [0.5, 'box2', '-webkit-background-size', [20, 20], 2],
45 document
.getElementById('box').className
= 'box final';
46 document
.getElementById('box2').className
= 'box final';
49 runTransitionTest(expectedValues
, setupTest
);
54 <div id=
"box" class=
"box"></div>
55 <div id=
"box2" class=
"box"></div>