|
I’m not confident of what is meant by “stylable”, but I’m pretty sure it’s a misnomer. If you mean applying static styles, you can do that with any form of SVG (that is, <img> qualifies as well). If you mean inheriting styles from the parent document, you can only do that with inline SVG (that is, <iframe> doesn’t qualify). But by the actual usage in the article (that it’s <svg> and <iframe> but not <img>), I think what is actually meant is interactive—that you can run scripts, have :hover styles, links, things like that. |
1. changing the foreground and background of the SVG based on the web page theme or light/dark mode;
2. using the SVG in a link or button and styling the image according to the hover, pressed, etc. state, e.g. when providing custom checkbox/radio/toggle buttons.