| -webkit-transition-property: text-shadow; |
| -webkit-transition-duration: 1s; |
| -webkit-transition-timing-function: linear; |
| text-shadow: yellow 0px 10px 10px, |
| text-shadow: green 0px 10px 2px, |
| testRunner.waitUntilDone(); |
| document.getElementById('container').className = 'final'; |
| window.setTimeout(checkShadow, 0); |
| var container = document.getElementById('container'); |
| var shadow = window.getComputedStyle(container).getPropertyCSSValue('text-shadow'); |
| var result = document.getElementById('result'); |
| result.innerHTML = 'PASS: saw 5 shadows during the transition'; |
| result.innerHTML = 'FAIL: saw ' + shadow.length + ' shadows during the transition'; |
| window.addEventListener('load', setupTest, false); |