[Webkit-unassigned] [Bug 41421] Node.cloneNode does not work on SVG nodes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 30 23:56:26 PDT 2010


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


Nikolas Zimmermann <zimmermann at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com




--- Comment #7 from Nikolas Zimmermann <zimmermann at kde.org>  2010-06-30 23:56:26 PST ---
Thanks for the bug report, good catch Fady!
I think it's not hard to fix. The SVG animated properties are synchronized with their corresponding XML attributes, whenever you use getAttribute/hasAttribute(s). We just need to assure they're synchronized when cloning the node, that's all.

If you grep for "updateAnimatedSVGAttribute" in WebCore/dom, you should see how it works, and how to hook that logic into cloneNode. Do you want to give it a try?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list