←back to thread

525 points cantdutchthis | 1 comments | | HN request time: 0s | source
Show context
unleaded ◴[] No.44501635[source]
You can do a lot of impressive things with SVGs. Some examples from Wikipedia (no JS in any)

https://upload.wikimedia.org/wikipedia/commons/9/9b/SMIL_mis... missile command clone

https://upload.wikimedia.org/wikipedia/commons/1/13/London_U... tube map

https://upload.wikimedia.org/wikipedia/commons/4/49/Rolling_... rolling shutter animation

replies(6): >>44501711 #>>44501713 #>>44502029 #>>44503152 #>>44503500 #>>44518683 #
leonidasv ◴[] No.44501713[source]
SVG started as an open competitor to Shockwave/Flash Player and also an application format for PDAs. It almost got networking support once.
replies(4): >>44501865 #>>44502636 #>>44503050 #>>44503397 #
bawolff ◴[] No.44503397[source]
> It almost got networking support once.

SVG support full javascript. It has networking support.

(In web browsers the <img> tag allows only restricted subset, butbyou get the full thing with iframe)

replies(1): >>44504531 #
ameliaquining ◴[] No.44504531[source]
I think the above comment refers to the proposal for SVG 1.2 (which never shipped) to include an API for opening raw network sockets: https://www.w3.org/TR/2004/WD-SVG12-20040510/#rawsocket

(It observes that this feature raises certain security risks, but promises to figure out by the next draft how to fix them. This of course never happened.)

I recall Hixie had a funny rant about this, but I can't find it.

replies(1): >>44505553 #
1. bawolff ◴[] No.44505553[source]
Thanks, i wasn't aware of that. That is crazy.