Closed Bug 782277 Opened 12 years ago Closed 12 years ago

Issues with USE, Animated elements and JavaScript

Categories

(Core :: SVG, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 619509

People

(Reporter: Jeremie, Unassigned)

Details

(Whiteboard: [parity-opera])

Attachments

(1 file)

Attached image Testcase
The attach test case show some issues with the "use" element when it referenced animated element and is manipulated with JavaScript :

1. When you insert a "use" element in the DOM with JavaScript and if that "use" element reference an animated element, the animated state of the element is not displayed by the "use" element.

2. When a "use" element display an animated element and if a SMIL animation on this element is start using JavaScript, the "use" element does not display the animation state of the original element.

Opera works well in both cases
Chrome fails with the first case but handles well the second case.

In the attach test case, the left column is the original animated element; the column on the middle is a "use" element that is define in the document code source; the left column is a "use" create and attach to the DOM with JavaScript.

The first line show an animated element that start at the beginning of the SMIL time line of the document; the second line show an animated element that start at the DOM Load event through JavaScript; the third line show an animated element that start at the SMIL click event.
Whiteboard: [parity-opera]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: