[Webkit-unassigned] [Bug 14167] event listeners on <use> elements wrongly return evt.target as an SVGElementInstance

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 15 13:27:46 PDT 2007


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





------- Comment #5 from bugzilla at fiset.ca  2007-06-15 13:27 PDT -------
Re-reading the specs, I now understand better your comment, Eric. Thanks for
the clarification.

http://www.w3.org/TR/SVG/struct.html#UseElement

"The effect of a 'use'  element is as if the contents of the referenced element
were deeply cloned into a separate non-exposed DOM tree which had the 'use'
element as its parent and all of the 'use'  element's ancestors as its
higher-level ancestors."

The "deep cloning" aspect leads me to believe that the ownerDocument attribute
should be set to the receiving document.

Also, on the related bug 14170, a cloned node should be able to support DOM
methods, such as getAttribute().


-- 
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