3 ms·
> must contain a valid non-empty URL potentially surrounded by spaces referencing a non-interactive, optionally animated, image resource that is neither paged n
by Bromskloss 9y ago
> must contain a valid non-empty URL potentially surrounded by spaces referencing a non-interactive, optionally animated, image resource that is neither paged nor scripted
So it is invalid to point to a scripted SVG, then?
- zaroth 9y agoThey're not saying that what you point to must not have scripting, they're saying that the agent must not page or script whatever it is that you point to. So technically, no it's not "invalid" to point to a scripted SVG, but it better not execute the script. So it might not work the way you want, unless your goal is to see what it looks like without scripting!
- TheRealPomax 9y agoPerfectly valid, but it won't evaluate as a full SVG document, just as the initial document snapshot. Kind of like loading a webpage with scripts disabled, you'll see "something", but that might not actually be what the document was designed to look like at all (so if you're using SVG as <img> source, only static SVG documents will look the way they're supposed to).