| -webkit-transition-duration: 1s; |
| -webkit-transition-timing-function: linear; |
| background-image: url('../fast/backgrounds/repeat/resources/gradient.gif'); |
| -webkit-transition-property: background-image; |
| background-image: url('../fast/backgrounds/repeat/resources/nav.blue.gif'); |
| background: url('../fast/backgrounds/repeat/resources/gradient.gif'); |
| -webkit-transition-property: background; |
| background: url('../fast/backgrounds/repeat/resources/nav.blue.gif'); |
| <script src="resources/transition-test-helpers.js" type="text/javascript"></script> |
| // [time, element-id, property, expected-value, tolerance] |
| [0.5, 'box', 'background-image', 0.5, 0.05], |
| [0.5, 'boxShorthand', 'background-image', 0.5, 0.05], |
| document.getElementById('box').className = 'box final'; |
| document.getElementById('boxShorthand').className = 'box final'; |
| runTransitionTest(expectedValues, setupTest, usePauseAPI, true); |
| <div id="box" class="box"></div> |
| <div id="boxShorthand" class="box"></div> |