| -webkit-transition-duration: 1s; |
| -webkit-transition-timing-function: linear; |
| -webkit-transition-property: text-shadow; |
| text-shadow: -25px -5px 15px red; |
| text-shadow: 5px 5px 15px green; |
| <script src="resources/transition-test-helpers.js"></script> |
| <script type="text/javascript"> |
| // [time, element-id, property, expected-value, tolerance] |
| [0, 'text', 'text-shadow', [-25, -5, 0, 15], 4], |
| [1, 'text', 'text-shadow', [5, 5, 0, 15], 4] |
| document.getElementById('text').className.baseVal = 'text final'; |
| runTransitionTest(expectedValues, setupTest, usePauseAPI, doPixelTest); |
| <svg width="400" height="100"> |
| <text id="text" class="text" x="10" y="50" style="font-size:30pt; font-weight:bold;">Shadow on texts</text> |