SVGs that are included as an image (eg. via <img>
or background-image
) cannot reference other external objects. That includes images, CSS etc. Your SVG references an external PNG file.
What you can do is include the PNG by embedding it as a base64 data URL.
This restriction is a deliberate browser security measure.