Silent failure when trying to render SVG image with widht/height in percentage
In the context of an app using Pixi.js to render markers on a map, we have noticed that Firefox is unable to load SVG images from a data URL, as soon as they have a width/height in percentage.
Switching to a px size fixes the problem.
But what bothers me the most, is that this fails seems to be silent, there is no way to catch the error and bubble it up to the developer. So the image just never loads in our code, which makes the issue extremely difficult to figure.
See more information, and a reproduction with Pixi.js there: https://github.com/pixijs/pixi.js/issues/7473