Comment by 0x457 6 days ago but SVG embeds ECMAScript... 4 comments 0x457 Reply socalgal2 6 days ago true, but script tags don't run when used in img tags which is how they work on Github READMEs oblio 6 days ago Fairly sure there are SVG subsets that can be used. Not all of them embed JS.And that wasn't my point. SVG supports animation primitives. No need to animate through JS. 0x457 6 days ago You're confusing language and runtime environment. SVG lets you use ecmascript of some version in its <script> tags, it obviously doesn't provide browser api available to you from javascript in a browser. deathanatos 6 days ago > And that wasn't my point. SVG supports animation primitives. No need to animate through JS.This isn't (AFAICT) animated via JS. (It's animated by a CSS animation, inside the SVG. TFA is wrong about the <animate> tag being what is leveraged.)
socalgal2 6 days ago true, but script tags don't run when used in img tags which is how they work on Github READMEs
oblio 6 days ago Fairly sure there are SVG subsets that can be used. Not all of them embed JS.And that wasn't my point. SVG supports animation primitives. No need to animate through JS. 0x457 6 days ago You're confusing language and runtime environment. SVG lets you use ecmascript of some version in its <script> tags, it obviously doesn't provide browser api available to you from javascript in a browser. deathanatos 6 days ago > And that wasn't my point. SVG supports animation primitives. No need to animate through JS.This isn't (AFAICT) animated via JS. (It's animated by a CSS animation, inside the SVG. TFA is wrong about the <animate> tag being what is leveraged.)
0x457 6 days ago You're confusing language and runtime environment. SVG lets you use ecmascript of some version in its <script> tags, it obviously doesn't provide browser api available to you from javascript in a browser.
deathanatos 6 days ago > And that wasn't my point. SVG supports animation primitives. No need to animate through JS.This isn't (AFAICT) animated via JS. (It's animated by a CSS animation, inside the SVG. TFA is wrong about the <animate> tag being what is leveraged.)
true, but script tags don't run when used in img tags which is how they work on Github READMEs
Fairly sure there are SVG subsets that can be used. Not all of them embed JS.
And that wasn't my point. SVG supports animation primitives. No need to animate through JS.
You're confusing language and runtime environment. SVG lets you use ecmascript of some version in its <script> tags, it obviously doesn't provide browser api available to you from javascript in a browser.
> And that wasn't my point. SVG supports animation primitives. No need to animate through JS.
This isn't (AFAICT) animated via JS. (It's animated by a CSS animation, inside the SVG. TFA is wrong about the <animate> tag being what is leveraged.)