an alternate history where SVG won over HTML. one where someone wrote some javascript that dynamically resizes the SVG viewbox depending on display resolution, and implements a grid-based layout system

because in SVG a block of javascript code can live inside a group tag along-side vector graphics, you can copy scripts between SVG files by clicking on its group in inkscape and copying/pasting

you could imagine that these scripts, because they can be tied to graphics, could be distributed with flashy logos. copying the logo into another SVG file would bring the code with it

so I'm imagining an alternate universe where if you loaded a web page's SVG source in a graphics editor, you'd be able to see all the libraries it uses arranged in a neat row just outside the canvas extents

actually thinking of implementing "svggrid.js" and making a "modern" svg website

Follow

@SuricrasiaOnline ...so this is the good timeline? I've always thought of html as the user-friendly one...

Sign in to participate in the conversation
Wandering Shop

The Wandering Shop is a Mastodon instance initially geared for the science fiction and fantasy community but open to anyone. We want our 'local' timeline to have the feel of a coffee shop at a good convention: tables full of friendly conversation on a wide variety of topics. We welcome everyone who wants to participate, so long as you're willing to abide by our code of conduct.