My project supports users uploading their own icons to be used for various entities in the system. I'd like to support SVGs, as this means that the same image can be scaled nicely and thus used in multiple places.
Firefox has a current bug that prevents SVG files being used in <img>
tags. It was my understanding from my other xhtml work that <object>
tags were the (xhtml) way forward for external media (and essentially equivalent - enhanced fall-back functionality support aside), and as Firefox supports SVG in object tags, I switched over to using these.
However, it seems SVG's "features" prevent them being used interchangeably as scalable images as JavaScript events don't seem to bubble up out of the object, amongst a few other things.
Does anyone know if these issues can be resolved? I.e. how can I tell Firefox I just want the picture using the object tag?