Comment by 0x457 7 months ago but SVG embeds ECMAScript... 4 comments 0x457 Reply socalgal2 7 months ago true, but script tags don't run when used in img tags which is how they work on Github READMEs oblio 7 months 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 7 months 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 7 months 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 7 months ago true, but script tags don't run when used in img tags which is how they work on Github READMEs
oblio 7 months 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 7 months 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 7 months 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 7 months 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 7 months 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.)