Re: USE elements in Safari - problems with events
- yes - this really is a restriction on the use element. If you want to
get the reference to a use element, you have to use .currentTarget
and place the event handler attribute on the use element directly,
not on a parent group, as you might be used to do with regular shapes.
All proper SVG UAs act like you describe.
--- In firstname.lastname@example.org, "richard_smith_ons"
> Due to the above I get "evt.target.getAttributeNS not an object"
> trying to process the events on a USE element (Safari 3.0.3 for
> Windows). The conclusion seems to be it's not a bug (!) Is there a
> recommended workaround?