Closed Voronchuk closed 10 years ago
In case of Bonsai's SVG Renderer the Bitmap
API is mapped to the HTMLImageElement
. Which means the rendered output of your script snippet is basically <img src="js-CoolFarmers.svg" />
. Browsers ignore external resources, css interaction and all other things that can cause security vulnerabilities when the SVG is referenced via HTMLImageElement
.
Failing plain SVG Example: http://jsbin.com/enoWIlUx/3
Including
In SVG file doesn't work.
Also
In the head of SVG file doesn't work.
In general I need to have pointer cursor when hovering one of elements inside large (~14 mb) SVG file, which I load like