[webkit-dev] SVG cloneNode?

Fady Samuel fsamuel at chromium.org
Wed Jun 30 11:02:44 PDT 2010


I have just added a bugzilla bug:

https://bugs.webkit.org/show_bug.cgi?id=41421

I looked at SVGAnimatedProperty.h briefly but I can't think of a clever way
to modify it so that there's a nice, general way to copy these animated
attributes to the cloned node. I believe a bunch of files will need to be
modified but I could be wrong.

Fady

On Wed, Jun 30, 2010 at 1:53 PM, Darin Adler <darin at apple.com> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100630/894f9c28/attachment.html>


More information about the webkit-dev mailing list