10 -webkit-transition-duration: 1s;
11 -webkit-transition-timing-function: linear;
15 background-image: url('../fast/backgrounds/repeat/resources/gradient.gif');
16 -webkit-transition-property: background-image;
20 background-image: url('../fast/backgrounds/repeat/resources/nav.blue.gif');
24 background: url('../fast/backgrounds/repeat/resources/gradient.gif');
25 -webkit-transition-property: background;
29 background: url('../fast/backgrounds/repeat/resources/nav.blue.gif');
33 <script src="resources/transition-test-helpers.js" type="text/javascript"></script>
36 const expectedValues = [
37 // [time, element-id, property, expected-value, tolerance]
38 [0.5, 'box', 'background-image', 0.5, 0.05],
39 [0.5, 'boxShorthand', 'background-image', 0.5, 0.05],
44 document.getElementById('box').className = 'box final';
45 document.getElementById('boxShorthand').className = 'box final';
48 runTransitionTest(expectedValues, setupTest, usePauseAPI, true);
52 <div id="box" class="box"></div>
53 <div id="boxShorthand" class="box"></div>
55 <div id="result"></div>