News for hackers. Stuff that matters.
Re:SVG has more potential by wongarsu on Monday September 26, 2016 @08:30PM (#12586764)
>I do not expect my images to be turing complete.

An image of type "image/svg+xml" is as powerful as a text of type "text/html". In both cases their mime-type could be considered a misnomer.

In general I find it more helpful to think of SVG as a xhtml-like format with tags for arbitrary shapes. It has full support for interaction, state, javascript, css and almost anything else you expect from a html document.

There are no comments on this comment yet.