Community
Participate
Working Groups
I thought we had a bug for this, because I remember a discussion in one (probably when I was working on sprites). We have several extension points that specify images. orion.navigate.command orion.edit.command orion.file.contenttype Currently those images are specified by URL. We had discussed and dimissed the idea of using a CSS class because of the security risks of letting a plugin contribute CSS. We considered using a data URI so that the icon could be embedded. The downside is that a plug-in has to take an extra step to generate one. We also considered leaving the spec as a URL. We could run some code to see if there is data, and if there is not, we could generate a data URI from the plugin's image. The downside is complexity on our side, and the time spent doing so. Whatever we do I think these three extensions should use the same technique. I left them all as image URL's for now, which are fed to an image.src
This has evolved, and I don't believe is a problem area anymore.