When accessing a <use> element via javascript, calls to getAttribute() fail.
Created attachment 15058 [details] Test Case
Hi, (In reply to comment #0) > When accessing a <use> element via javascript, calls to getAttribute() fail. After checking with Opera, which acts the same as Safari 3, I am not sure whether the bug report is valid. The spec seems to indicate a SVGElementInstance needs to be reported: "If event attributes are assigned to referenced elements, then the actual target for the event will be the SVGElementInstance object within the "instance tree" corresponding to the given referenced element." That is what Safari 3 does. You could use correspondingUseElement to query the <use>. I am waiting with closing this until after double checking with WildFox. Cheers, Rob.
Thanks so much for the help. Yes, Safari is specs compliant.