| <!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> |
| -webkit-transition: opacity 1s linear; |
| <script src="resources/transition-test-helpers.js"></script> |
| <script type="text/javascript"> |
| // [time, element-id, property, expected-value, tolerance] |
| [0.5, 'box', 'opacity', 0.5, 0.1], |
| document.getElementById('box').className = 'box final'; |
| runTransitionTest(expectedValues, setupTest, usePauseAPI); |
| <!-- Test that a transition runs on an element with a 'content' property. --> |
| <div id="box" class="box"></div> |