| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../../resources/js-test-pre.js"></script> |
| <script src="../dynamic-updates/resources/SVGTestCase.js"></script> |
| <script src="resources/SVGAnimationTestCase.js"></script> |
| <body onload="runSMILTest()"> |
| <h1>SVG 1.1 dynamic animation tests</h1> |
| description("A copy of the corresponding W3C-SVG-1.1 test, which dumps the animation at certain times"); |
| embedSVGTestCase("../W3C-SVG-1.1/animate-elem-06-t.svg"); |
| expectTranslationMatrix("rootSVGElement.getTransformToElement(path)", "-15", "-43"); |
| expectTranslationMatrix("rootSVGElement.getTransformToElement(path)", "-38.5", "-30"); |
| expectTranslationMatrix("rootSVGElement.getTransformToElement(path)", "-65", "-33"); |
| path = rootSVGElement.ownerDocument.getElementsByTagName("path")[1]; |
| // [animationId, time, sampleCallback] |
| runAnimationTest(expectedValues); |
| window.animationStartsImmediately = true; |
| var successfullyParsed = true; |