Bug 122442
Summary: | SVG animate element can only be triggered once | ||
---|---|---|---|
Product: | WebKit | Reporter: | Peiwen Lu <lvpeiwen> |
Component: | SVG | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brent Fulgham
This test case works properly in Safari, but seems to fail in Firefox and Chrome.