|
|
|
|
|
by chrismorgan
695 days ago
|
|
I return to what I said in my comment. For your first example: If you’re talking about using the prefers-color-scheme media query, you can do this with any technique—<img> qualifies as well. That’s applying static styles. If you’re talking about things like styling based on an <html class="…"> value, <iframe> doesn’t qualify: that’s inheriting styles from the parent document and you can’t do it. For your second example: that’s about whether the SVG is interactive. However I look at it, “stylable” is simply the wrong word. |
|
Interactivity is different -- i.e. the SVG using JavaScript to be interacted with.
For the second example, it's just applying CSS styling:
No need/use of JavaScript.