Bug 122442

Summary: SVG animate element can only be triggered once
Product: WebKit Reporter: Peiwen Lu <lvpeiwen>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.8   

Peiwen Lu
Reported 2013-10-07 03:09:18 PDT
I want to use jQuery to trigger SVG animate element, then I found that the animate element can only be triggered once in Safari and Chrome, but it works perfectly fine in Firefox and Opera. (Sorry I haven't test this in IE browsers) I have asked a question on stackoverflow: " I use jQuery mouseenter and mouseleave event to trigger zoom in and zoom out animation for SVG. It seems that the mouseleave event works fine, but the mouseenter event can only works once. http://jsbin.com/IZAYAWU/1/edit " For more information please view the following link: http://stackoverflow.com/questions/19182439/jquery-trigger-svg-animation-can-only-work-once Actually, if I change the mouserenter and mouseleave events to click and dblclick, the zoom in animation will only work once as well.
Attachments
Brent Fulgham
Comment 1 2022-07-15 16:42:13 PDT
This test case works properly in Safari, but seems to fail in Firefox and Chrome.
Note You need to log in before you can comment on or make changes to this bug.