[Webkit-unassigned] [Bug 34301] Creating <animateMotion> elements via javascript do not execute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 30 11:29:06 PDT 2011


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





--- Comment #8 from Rob Buis <rwlbuis at gmail.com>  2011-05-30 11:29:06 PST ---
Hi Niko,

(In reply to comment #7)
> (In reply to comment #6)
> > I don't the SVGAnimationMotionElement.idl is needed to fix this bug, this dynamic test works with trunk:
> > 
> > http://www.kevlindev.com/tutorials/basics/animation/js_dom_smil/index.htm
> > 
> > So I think this bug can be closed. OTOH it could be used to combine with bug 17043 and add a similar test as above but with <mpath> inserted as well. It is on my TODO list :)
> > Cheers,
> 
> Well if you use document.createElementNS('http://www.w3.org/2000/svg','animateMotion');
> it won't create an SVGAnimateMotionElement but a SVGElement, so you can't create those elements from DOM at the moment?
> 
> Am I missing sth.?

Jein :)
You are right, but the way it is used does not matter, as only setAttribute is used as API. Nevertheless we should add these .idl files, I have them ready. I am writing a test for inserting <mpath> dynamically, so that could go in with a patch to fix this bug. But it looks like this and bug 17032 should be fixed in one patch though.
Cheers,

Rob.

-- 
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