I have a webpage that has an SVG above an IMG element that needs to draw shapes above it.
Figure runs correctly in browsers. But when it comes to receiving events, the IMG actually seems to block the event / receive it (it has no event connected by itself, so it does not stop explicitly).
Example:
http://jsfiddle.net/UvRVX/12/ (fixed markup, added circle) FF, Chrome: "svg got mousedown" (correct)
Opera, IE9: -independent- (incorrect)
When an image is hidden using visibility or CSS: none rendering, it starts to work, but this method, of course, cannot be used.
How to place an SVG element over an IMG element so that it can receive events? (in Opera, IE9)
Thanks you
source share