[webkit-dev] SVG cloneNode?

Darin Adler darin at apple.com
Wed Jun 30 10:53:57 PDT 2010


As I see it, the issue shown in your test case is that cloning animated attributes does not clone the animation parameters. That’s something we will need to solve. We should not solve it by overriding copyNonAttributeProperties and hand-writing it in each class.

I don’t know enough about the SVG animated attributes support to know how to solve the problem myself, but you should make sure we have a bug report in bugs.webkit.org mentioning cloneNode and SVG animated attributes so we can discuss there how to fix it.

I imagine the code changes will be in SVGElement.h/cpp and SVGAnimatedProperty.h/cpp.

    -- Darin



More information about the webkit-dev mailing list