Bug 106103 - SMIL animations for elements in DEFS are applied to all USE occurrences
Summary: SMIL animations for elements in DEFS are applied to all USE occurrences
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-04 09:35 PST by Maros Urbanec
Modified: 2013-01-06 07:33 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maros Urbanec 2013-01-04 09:35:05 PST
If we have an element in DEFS referred by at least 2 USE elements and the element contains SMIL animations with begin/end triggers referring the element itself, the animations are applied to all USE occurrences.

jsFiddle explaining the behaviour
http://jsfiddle.net/maros_urbanec/vzYZp/3/

Firefox starts the animation on the current USE element only.
Comment 1 Robert Longson 2013-01-06 02:54:50 PST
It's Firefox that'a wrong. I think we have bugs in our bugzilla covering this.
Comment 2 Dirk Schulze 2013-01-06 07:33:25 PST
(In reply to comment #1)
> It's Firefox that'a wrong. I think we have bugs in our bugzilla covering this.

I would agree. I can also see that you may don't want to see the animations on some references. This seems not possible following the spec.