[Webkit-unassigned] [Bug 81792] New: Triggering an animation in cloned (uses) object causes all other cloned objects to animate

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 21 09:11:50 PDT 2012


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

           Summary: Triggering an animation in cloned (uses) object causes
                    all other cloned objects to animate
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: david at netriver.co.uk
                CC: zimmermann at kde.org


Created an attachment (id=133056)
 --> (https://bugs.webkit.org/attachment.cgi?id=133056&action=review)
SVG with an animation on a object that is cloned with uses. Mouseover on circles should just cause single element to animate but instead it all animates. Ignore the ripple, just appreciate it :-)

Triggering an animation in an SVG element that is cloned with uses should cause all clones to animate. However, triggering that animation in a uses clone (rather the element that was cloned) should only animate the clone.

To replicate this bug
1. create a circle and add a SMIL animation on mouseover.
2. Clone this circle several times with uses
3. hide the original circle in a hidden group.
4. Test the SVG. Putting mouse cursor over a single

What should happen?
A single clone should animate when the mouse cursor is over it. The other clones should not.

What does happen?
All the circles animate when the mouse cursor is over a single one, in spite of the animation not being triggered in the original object (it's not displayed).

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