upvote
If you just serve SVGs through <img> tag it’ll be much safer. I never understood the appeal of inline <svg> anyways.
reply
Inline SVG is stylable with CSS styles in the same HTML page.
reply
Also animatible with the same context (Animation API, etc.) as the parent page, so different SVGs can influence each other’s animations.
reply
Inline reduces round trips.
reply
You can use img with a data url?
reply