[Webkit-unassigned] [Bug 14170] Calls to getAttribute() fail on SVG <use> element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 18 08:15:15 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14170





------- Comment #2 from rwlbuis at gmail.com  2007-06-18 08:15 PDT -------
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.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list