[Webkit-unassigned] [Bug 12434] Removing animation element during animation crashes WebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 27 03:32:08 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12434





------- Comment #2 from macdome at opendarwin.org  2007-01-27 03:32 PDT -------
Part of the problem is that animation notification lists are held off of the
time scheduler, which is held off of the containing <svg> element.  this is
done because (according to the spec) each <svg> document fragment can have an
independent animation timeline.  (Which sorta makes sense, given the desire to
build an animation editor within SVG.)  So if you remove an animation element
(even if it's kept alive) it will have trouble finding its <svg> element to
remove itself from the notify list.

The best fix is to re-work the animation notify system, as discussed in:
http://bugs.webkit.org/show_bug.cgi?id=12432

But short of that, an easier fix, is to implement willRemove() and
insertedIntoDocument() and add/remove the animation from the notify list on the
parent <svg>.

In order to support independent timelines for <svg> document fragments (as
mentioned in http://bugs.webkit.org/show_bug.cgi?id=12073), we'll need to
actually be careful to update the animation element if moving between <svg>
document fragments (that may also affect the target of the animation, among
other things, and certainly would stop the animation when removing it from one
fragment before inserting it into the other).


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



More information about the webkit-unassigned mailing list