by VS1999 · 2y ago · 0 comments
I'm curious: what legitimate use cases exist for embedding a turing-complete scripting language into an image format?
ninja edit: It's also from a time when W3C started to lose focus and authority.
It's amazing that SVG was so successful despite this mess and also the confusion potential of CSS in SVG.
Browsers ignore scripts in external SVG images. Don't know if that is for security reasons (JS sandbox unreliable) or because a full isolated JS context per image would be to expensive...
PostScript, the printer file format, is Turing-complete, for different reasons.
Competing with flash?
SVG tries to be a lot of things, one of them was to be a full on interactive app.
That's how cursed enterprise software develops email clients and chat services. Just say no.