[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 10:50:02 PDT 2007


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





------- Comment #4 from bugzilla at fiset.ca  2007-06-15 10:50 PDT -------
Eric, this is a good question. If the mouse events were set on the <rect>
definition as opposed to the <use> element (I must admit, I had never
considered this possibility), what would the event target be?

I always assumed that the event target would be the rendered element (in this
case, the <use> element), but I am not sure if I am right.

Another case would be if the mouse events were set on a parent <g> element.
During bubbling up, the event would be sent to the parent's event handler, but
the event target would remain the rendered element (the <use> element). Or, at
least, that is my interpretation of the situation.

What do you think the proper behaviour should be?


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