Just to say there was no criticism of course. Just pure facts. While working on leaflet plugin, I've discovered why the image/svg+xml content-type was not defined: because this images ARE text/vnd-tiddlywiki for good reasons.
The reason why xml namespace is "missing" is not as clear for me. As far as I understand, for web applications with parser, it is generallly needed. See https://stackoverflow.com/questions/18467982/are-svg-parameters-such-as-xmlns-and-version-needed Is this also a feature? In this particular case, it would solve the problem since > {background: url("data:image/svg+xml, <$view tiddler="$:/core/images/chevron-right" format="urlencoded"/>") no-repeat top left;} Works perfectly if xmlns is defined Warm regards Sylvain @sycom Le lun. 4 nov. 2019 à 19:25, Jeremy Ruston <[email protected]> a écrit : > > Most of the core icons have no type defined (image/svg+xml) AND lacks a > xmlns declaration (<svg xmlns="http://www.w3.org/2000/svg" …) > > > Just to be clear, this is because the core icons are designed to be used > as SVG elements embedded in the HTML, rather than images. The primary > reason is that it lets us style/colour the icons at the point of using > them. There’s some discussion of the difference here: > > https://tiddlywiki.com/#Using%20SVG > > For CSS background images you’d need to use an SVG image. I don’t think > there’s a straightforward way to convert the core images, you’d probably > just need to do it manually. > > Best wishes > > Jeremy. > > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "TiddlyWiki" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tiddlywiki/YznqeuiZyqQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/7BBE975C-1844-4050-951C-DEE24A7129B8%40gmail.com > <https://groups.google.com/d/msgid/tiddlywiki/7BBE975C-1844-4050-951C-DEE24A7129B8%40gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAOWAUqHXBxin2R%3DaN3J%2BW29Bpo%2B04AGGs2Kqu3LvfqN5vB2_Hg%40mail.gmail.com.

