.
To quote the linked SO answer
> Basically, SVG when used in an image context emulates raster images. Raster images aren't scriptable so neither is SVG when it is used in that way.
However, looking at the rest of the answer and other comments, it looks like it should be possible with <embed> or similar tags.
So it just depends on how you embed the SVG.