Open
Bug 704096
Opened 13 years ago
Updated 2 years ago
[SVG]Events registered on <symbol> does not fire if addEventListener is used
Categories
(Firefox :: General, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: rakssvg, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2 Steps to reproduce: I registered listener for onclick event on a <symbol> element with addEventListener after getting the element using getElementById() Actual results: After clicking on element which was referring the <symbol> element, the callback was not called Expected results: The listener registered for 'onclick' should have been called. If I add the listener as an attribute to the symbol as <symbol onclick="listener(ev)" ... > then the listener is getting called but If I use addEventListener inside onload then the listener is not getting called. In all other browsers the listener is getting called even when addEventListener is used
Summary: Events registered on <symbol> does not fire if addEventListener is used → [SVG]Events registered on <symbol> does not fire if addEventListener is used
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•