[Webkit-unassigned] [Bug 20028] Dynamically created <animate> elements do not animate upon document insertion as they should

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 5 12:11:02 PDT 2009


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


Brad Neuberg <bradneuberg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bradneuberg at gmail.com




--- Comment #2 from Brad Neuberg <bradneuberg at gmail.com>  2009-08-05 12:11:01 PDT ---
I confirm that I'm encountering this bug as well with dynamically created SMIL
animate elements:

rect = document.createElementNS(svgns, 'rect');
rect.setAttribute('x', 50);
rect.setAttribute('y', 50);
rect.setAttribute('width', 50);
rect.setAttribute('height', 50);
rect.setAttribute('fill', '#0f5');
rect.setAttribute('stroke', '#085');
rect.setAttribute('stroke-width', '4');
anim = document.createElementNS(svgns, 'animate');
anim.setAttribute('attributeName', 'x');
anim.setAttribute('calcMode', 'linear');
anim.setAttribute('additive', 'replace');
anim.setAttribute('accumulate', 'none');
anim.setAttribute('from', 50);
anim.setAttribute('to', 100);
anim.setAttribute('begin', '2s; 5s');
anim.setAttribute('dur', '2s');
anim.setAttribute('fill', 'remove');
rect.appendChild(anim);
svg.appendChild(rect);

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