when <use> and <symbol> are in an SVG addEventListener is triggered by the cursor crossing the margin of the window, rather than the border of the element.
Created attachment 8207 [details] broken-onmouseover test mouseover the window raises alert. I've tried changing, and switching around the two ids but not been able to resolve why either is used in error.
Created attachment 8208 [details] demo without <use> This example doesn't have <use> and works as designed
Created attachment 8210 [details] <a><g><use/></g></a> don't let anchors only surround <use>, make sure they surround a group that surrounds <use>
Is this a requirement of the specs? By surrounding <use> with <g> and all this with anchors this bug disappears. <a xlink:href="http://www.google.com"> <g id='symbol3'> <title>games</title> <use xlink:href="#sound" x="30%" y="15%" width="10%" height="10%" /> </g> </a> NOT <g id='symbol3'> <title>games</title> <a xlink:href="http://www.google.com"> <use xlink:href="#sound" x="30%" y="15%" width="10%" height="10%" /> </a> </g>
No, this is just a bug in our <use> and <symbol> implementations.
niko might have already fixed this.
It looks like it works to me. Jay, can you please confirm and close?