SVG animation not working for elements inserted after parsing is finished
authorfmalita@chromium.org <fmalita@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Aug 2012 21:24:28 +0000 (21:24 +0000)
committerfmalita@chromium.org <fmalita@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Aug 2012 21:24:28 +0000 (21:24 +0000)
commit08edb3311db4a57dcdaaa9b3edbb412b224e7d6a
treeba3257ca866ffe74d2cad0de7fe6d480d5d891c2
parent82b438369842dfb3fb61fce1ef697da2bc3d5dfe
SVG animation not working for elements inserted after parsing is finished
https://bugs.webkit.org/show_bug.cgi?id=92025

Reviewed by Nikolas Zimmermann.

Source/WebCore:

Time containers for SVG elements inserted after document parsing is finished need to be
initialized on insertion (since they've missed the Document::implicitClose() initialization
point).

Test: svg/animations/deferred-insertion.html

* svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::insertedInto):

LayoutTests:

* svg/animations/deferred-insertion-expected.txt: Added.
* svg/animations/deferred-insertion.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@124369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/animations/deferred-insertion-expected.txt [new file with mode: 0644]
LayoutTests/svg/animations/deferred-insertion.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/svg/SVGSVGElement.cpp