Hacker News
new
past
comments
ask
show
jobs
points
by
pornel
11 hours ago
|
comments
by
kccqzy
10 hours ago
|
[-]
If you just serve SVGs through <img> tag it’ll be much safer. I never understood the appeal of inline <svg> anyways.
reply
by
lenkite
8 hours ago
|
parent
|
next
[-]
Inline SVG is stylable with CSS styles in the same HTML page.
reply
by
runarberg
7 hours ago
|
parent
|
[-]
Also animatible with the same context (Animation API, etc.) as the parent page, so different SVGs can influence each other’s animations.
reply
by
rwj
9 hours ago
|
parent
|
prev
|
[-]
Inline reduces round trips.
reply
by
toast0
8 hours ago
|
parent
|
[-]
You can use img with a data url?
reply