# SVG SMIL probably here to stay

**URL:** <https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271>\
**Category:** Uncategorized\
**Created:** [February 22, 2021, 3:47pm UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271 "2021-02-22T15:47:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve.mills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steve.mills/32/14961_2.png) [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Post date:** [February 22, 2021, 3:47pm UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/1 "2021-02-22T15:47:57Z")

</div>

I was just looking at the latest draft for SVG2 from the WC3 SVG working group that finishes up in a month (after 2 years) and there is a lot of reference to SMIL animation in the animation module.  
Now that SMIL is supported by all major browsers except IE, its finally usable (after Google nearly killed it) and hopefully it will stay.  
If you don’t know SMIL lets you do complex animations without CSS or JS by using an `<animate>` SVG tag (as well as others).  
You can animate onclick without JS and even do path morphing without having to use GSAP (must have same no of nodes).  
They are proposing some name changes to the animation elements and a few other things (fingers crossed).  
The one thing that would be really nice to have that is “at risk”, is z-index on SVG elements. Hopefully that is implemented.  
Hopefully the Web Animations API will implement path animation so maybe SMIL could be used mainly as a fallback for browsers with JS disabled. 😀

---

<div class="post-metadata">

**Author:** ![prg9](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@prg9](https://forum.kirupa.com/u/prg9)\
**Post date:** [February 23, 2021, 1:42pm UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/2 "2021-02-23T13:42:12Z")

</div>

> [@steve.mills](#):
>
> after Google nearly killed it

Didn’t Google pause / suspend that depreciation all the way back in [2016](https://groups.google.com/a/chromium.org/g/blink-dev/c/5o0yiO440LM/m/YGEJBsjUAwAJ) though?

> [@steve.mills](#):
>
> do path morphing without having to use GSAP (must have same no of nodes)

Maybe you’re speaking of basic tweening via ‘`attr:`’ which does require the same number of points, but with GSAP’s powerful **mophSVG** plugin that’s not the case at all. 😉

> [@steve.mills](#):
>
> The one thing that would be really nice to have that is “at risk”, is z-index on SVG elements. Hopefully that is implemented.

That would indeed be nice inherently. In the meantime you can use JS with appendChild or insertBefore and swap things around creatively through coding.

> [@steve.mills](#):
>
> fallback for browsers with JS disabled

In reality how often does that actually happen presently in mass given the current state of the web?

---

<div class="post-metadata">

**Author:** ![steve.mills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steve.mills/32/14961_2.png) [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Post date:** [February 23, 2021, 3:40pm UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/3 "2021-02-23T15:40:06Z")

</div>

It wasn’t until Edge went to Chromium last year that SMIL was finally viable.  
I just think having the ability to ‘tween’ nodes without having to slap on a library is pretty useful even for basic icon animation.  
I use inkscape for all my icons and backgrounds and it would be really handy if there was a SMIL plugin.  
Your right about JS in the browser, I think HTML email is really where it could shine. Having onclick animate events without checkbox hacks and being able to change z-index would be really sweet.

---

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [February 25, 2021, 6:58am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/4 "2021-02-25T06:58:04Z")

</div>

This is really cool. SMIL is something I haven’t spent much time on, so you have just helped me add it to my list of things to do 😀

---

<div class="post-metadata">

**Author:** ![steve.mills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steve.mills/32/14961_2.png) [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Post date:** [February 25, 2021, 10:05am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/5 "2021-02-25T10:05:21Z")

</div>

I think I’ll be using it mostly for morphing icons and animated SVG backgrounds (abstract gradients and shapes). BTW I forgot SMIL has`<mpath>`which is the equivalent of CSS motion path which is not yet supported in Safari (lets u do F1 race track style animations) and apparently SMIL will work inside an SVG image or URL background (havent tried it yet). This would be handy for selling animated backgrounds (just a URL and G2G). You can even use JS to trigger SMIL with `beginElement()` and append animate tags with JS🙂

---

<div class="post-metadata">

**Author:** ![prg9](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@prg9](https://forum.kirupa.com/u/prg9)\
**Post date:** [February 27, 2021, 6:03pm UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/7 "2021-02-27T18:03:47Z")

</div>

Maybe you can be the person to champion SMIL’s resurgence as very few seem to be readily re-advocating it’s use thus far. Lead the way K-man, tutorials, books, fame will follow. 😄

---

<div class="post-metadata">

**Author:** ![steve.mills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steve.mills/32/14961_2.png) [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Post date:** [February 28, 2021, 5:19am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/8 "2021-02-28T05:19:27Z")

</div>

The first spec for SMIL was in 1999 but most browsers didn’t even have the capability to run it.  
CSS animations and WAAPI have heavily copied some parts of SMIL (they probably use the same C, C++, under the hood).

CSS and JS are easier to work with now, so SMIL is only needed for edge cases in the browser.  
(outside of the browser see [https://github.com/w3c/svgwg/issues/63](https://github.com/w3c/svgwg/issues/63))

-Path tweening (no library).

> [http://www.tbyrne.org/portfolio/smil/LoveDota.svg](http://www.tbyrne.org/portfolio/smil/LoveDota.svg)  
> [https://codepen.io/noahblon/pen/qbvKt](https://codepen.io/noahblon/pen/qbvKt)

-Motion path (waiting on Safari for CSS motion path)

> [https://codepen.io/13twelve/pen/gMMpxv](https://codepen.io/13twelve/pen/gMMpxv)

-No JS button click animations (HTML email with JS disabled)  
(if the client supports SVG)

-Self animating background images  
HTML image - `<img src="eg.svg">`  
CSS background - `div {background-image: url('eg.svg')`  
[http://www.tbyrne.org/portfolio/smil/LoveDota.svg](http://www.tbyrne.org/portfolio/smil/LoveDota.svg)

There’s a few good tutorials out the there.  
[`https://metamorphant.de/blog/posts/2020-01-12-algorithmic-metamorphant-part-3-animating-svg-smil/`](https://metamorphant.de/blog/posts/2020-01-12-algorithmic-metamorphant-part-3-animating-svg-smil/)

[https://css-tricks.com/guide-svg-animations-smil/](https://css-tricks.com/guide-svg-animations-smil/)

My to do list:  
-Make a function similar to WAAPI for  
`<animate attributeName="d" >` (path tweening)

-Try to re-create some fire and forget, no thread blocking, complex animations similar to Kirupa’s snow falling effect in SMIL for use as backgrounds images. (I don’t think that complex is possible but maybe some other nice effects are)

For most things CSS and JS will be a better option because:

- `CSS Animations` and `JS WAAPI` have copied parts of `SMIL` but made it easier to use.

-JS gives you access to variables, loops and calculations, SMIL only has event listeners(onclick), and chained animations(trigger after x ends) and maybe other gems.

-You can animate multiple attributes with CSS/ JS at one time instead of an `<animate>` tag for every animated `attribute`.

Long term SMIL will probably be better for :

- Artists using software to make animations  
-No coders using software  
-Outside web pages e.g. animated pictures, documents, email ect.

In regards to championing SMIL a guy called Emanuele Sabetta probably saved it. He harassed the WC3 SVG Working group because I think some of the animations software he uses/ makes relies on SMIL.  
He brings up some really good points regarding SVG.

> <https://github.com/w3c/svgwg/issues/63>
>
> Lately the SVG WG expressed the intent to drop SMIL as the main animation method… of the SVG format, and to start merging efforts with the CSS group for unifying the animation approach on CSS Animations and WebAnimations.
> Doing so would be a sure mistake. CSS, web animations, or any other web standard should NOT be considered when developing the SVG format. 
> This because it is now clear that SVG has become the de facto standard for vector graphics in a variety of fields OUTSIDE THE WEB SPHERE.
> Just a few examples:
> \- Mobile apps UI (are all migrating to vector graphics now, dropping PNG for vector drawables, because of the device and dpi independent nature of vector assets)
> \- videogames (2D games on both portable and home consoles are almost all made with vector graphics this days and often originally created in the SVG format and converted to an internal format)
> \- web cartoons and youtube animations ( a lot of video applications for animations editing used by popular youtube channels import SVG now for both backgrounds and animation frames).
> \- movie animations studios (there are many professional software art tools for creating animations that are used by hollywood studios, but they have an hard time when it cames to exchange data and files. Because of this SVG is now increasingly used as an universal export format for vector graphics and a bridge between all those tools, a sort of "lingua franca" to bypass the lockins of proprietay formats)
> \- interactive illustrations for digital school texbooks (all made with SVG+SMIL)
> \- Crossplatform UI libraries like NGraphics, and other platform independent graphic libs.
> 
> The web is not the only focus for SVG anymore. SVG is now an independent and self sufficient vector file format, and it should not rely on external javascript libraries or applications specifications. 
> Having its own declarative animation format is what allows it to be so successful and independent from the limited scope of the web. SMIL is also very complete and very powerful, and universally regarded as the best animation language in existence. 
> Even web developers prefer not to have to manually animate SVG elements with javascript. Artists are best suited to do animations, not programmers. Javascript is also not useful for all graphic elements included as IMG elements in the html page, because for security reasons the image tag cannot run scripts or javascript. SMIL is the only safe and efficient way to have a vector animation file working in a web page as an Image element. And it is also much better for artists. No vector or animation artists that I know are proficient in javascript, so they are asking to provide them an SVG format that they can export including the animation defined as SMIL instead of having to pay a javascript programmer to manually code the animation in a script prone to errors and hard to debug. 
> 
> Animations functionality that are not included in the SVG format itself and dependent of external CSS, javascript or a running browser, are doomed to fail, because they require a programmer to do a graphicians job (bad for both, and with awful results), and because it would never be an universal, independent graphic format usable on every platform, from the web to mobile apps. 
> 
> Here is an example cartoon animation exported to SVG with the Flash2Svg plugin from Adobe Animate CC:
> 
> http://www.tbyrne.org/portfolio/smil/LoveDota.svg
> 
> All this thanks to SMIL.

---

<div class="post-metadata">

**Author:** ![prg9](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@prg9](https://forum.kirupa.com/u/prg9)\
**Post date:** [February 28, 2021, 6:52am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/9 "2021-02-28T06:52:37Z")

</div>

I’m aware of what SMIL is capable of but I think **you completely nailed it** with the following two excerpt comments.

> [@steve.mills](#):
>
> CSS and JS are easier to work with

> [@steve.mills](#):
>
> CSS and JS will be a better option

Those are the capital and the period on the subject IMHO.

SMIL certainly still has its applications but it can quickly become unmanageable and feel like scattered inline css regarding maintainability. Comparatively CSS and JS are highly more legible, maintainable and capable. I’m not sold on SMIL’s resurgence and have seen very few re-advocating it’s re-use thus far. Sure it’s fun to play with and applicable to certain situations but I think most will stick with CSS and JS.

It’s interesting that both of the following threads died in 2016 and now 2 people have come forth in 2020 & 2021 to re-open the discussion in both. However it will be interesting if either ever get an actual response and further the original discussion.

1. [Continue to improve SMIL as the main animation method of SVG · Issue #63 · w3c/svgwg · GitHub](https://github.com/w3c/svgwg/issues/63#issuecomment-711330778)
2. [https://groups.google.com/a/chromium.org/g/blink-dev/c/5o0yiO440LM/m/ZDbCbGObAwAJ](https://groups.google.com/a/chromium.org/g/blink-dev/c/5o0yiO440LM/m/ZDbCbGObAwAJ)

> [@steve.mills](#):
>
> [A Guide To SVG Animations (SMIL) | CSS-Tricks](https://css-tricks.com/guide-svg-animations-smil/)

This is the follow up to that article by Sara Soueidan.

[https://twitter.com/SaraSoueidan/status/590494294814937088](https://twitter.com/SaraSoueidan/status/590494294814937088)

 ![Sara-Soueidan-SMIL](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/2X/4/45ecae7845f7bc3981e3e32beb66b3624ad58123.jpeg)

😉

---

<div class="post-metadata">

**Author:** ![steve.mills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steve.mills/32/14961_2.png) [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Post date:** [February 28, 2021, 8:35am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/10 "2021-02-28T08:35:59Z")

</div>

Really mate,

That’s 2015. It’s hard to endorse something that doesn’t have almost full browser support and it’s future is in jeopardy.

#### [Sara Soueidan (SaraSoueidan)](https://twitter.com/SaraSoueidan/status/590494294814937088)

I know I wrote the guide to SMIL animations ([css-tricks.com/guide-svg-anim…](https://css-tricks.com/guide-svg-animations-smil/)) but, seeing their future, I don’t personally use them anymore.

[12:36 PM - 21 Apr 2015](https://twitter.com/SaraSoueidan/status/590494294814937088)

> That’s all changed now.

I get it, your a GSAP fan…  
I hear awesome stuff about it, I’ve never used it.  
I probably would try out GSAP or D3 if I was doing really complex stuff. I haven’t needed it.

I make super fast pages, minimal code and utilize SVG heaps (mostly inline icons in my HTML).  
I don’t want to slap on libraries when I can do it myself.

> [@prg9](#):
>
> SMIL certainly still has its applications but it can quickly become unmanageable and feel like scattered inline css regarding maintainability.

What is more maintainable than an image file with animations included?  
AND it works inside an `<img>` or` background-image: url()`  
😉  
If SMIL got traction and SMIL plugins for vector software became readily available…  
I think SMIL animated labels, icons, emojis and images would spread everwhere…

---

<div class="post-metadata">

**Author:** ![prg9](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@prg9](https://forum.kirupa.com/u/prg9)\
**Post date:** [February 28, 2021, 4:08pm UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/11 "2021-02-28T16:08:04Z")

</div>

You’ll notice that you first mentioned GSAP in your initial post that’s how it came up in topic. It’s not strictly imperative to the conversation. I can’t help that the industry widely discusses it’s merits regarding animation for anything within the browser. A person is free to use any vanilla CSS & JS or whichever libraries they desire to animate SVG. Even SMIL if they choose to do so.

> [@steve.mills](#):
>
> What is more maintainable than an image file with animations included?  
> AND it works inside an `<img>` or` background-image: url()`

That’s not exclusive to SMIL either. SVG supports `<style>` and `<script>` tags to provide the same aspect for self-containing CSS & JS within SVG delivery.

- [\<style\> - SVG: Scalable Vector Graphics | MDN](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/style)
- [\<script\> - SVG: Scalable Vector Graphics | MDN](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/script)

> [@steve.mills](#):
>
> endorse

It was referencing the tutorial you posted from 2014. Unless I’m mistaken none of them or anyone really is widely endorsing a cosmic shift towards SMIL even in 2020 / 2021. Though it has it’s place, will it really usurp the industry regarding SVG animation going forward?

> [@steve.mills](#):
>
> I make super fast pages

The web is already accomplishing the same with CSS, JS, SVG, Canvas, Pixi, Three, 3D, Video, WebGL, Shaders, GSAP, etc. SMIL does not have a corner on the market for performant development and delivery. The web carried on marvelously without the widespread use of SMIL for decades and the complexities of the web increase daily.

From many of your comments throughout this thread you appear more focused on a niche aspect or particular agenda in which SMIL can benefit your requirements or workflow. I’m looking at the industry as a whole. We’ll see what unfolds in that regard concerning SMIL and widespread adaptation. You can always write your own extension for Inkscape, many people have proposed it or attempted doing so for SMIL.

In the meantime there are also many existing opportunities through desktop apps and hosted services to animate SVG through a visual UI utilizing CSS and JS for those whom desire to forgo hand coding.

> [@steve.mills](#):
>
> I don’t want to slap on libraries when I can do it myself.

But as you’ve said in the ✅ solution of this thread. SMIL now has support so nothing is really stopping you from using it and doing it yourself. 😉

---

<div class="post-metadata">

**Author:** ![steve.mills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steve.mills/32/14961_2.png) [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Post date:** [March 1, 2021, 1:47am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/12 "2021-03-01T01:47:28Z")

</div>

> [@prg9](#):
>
> From many of your comments throughout this thread you appear more focused on a niche aspect or particular agenda in which SMIL can benefit your requirements or workflow. I’m looking at the industry as a whole.

I don’t think you are mate,

A business owner or a manager of a business wants:  
-One format for all logos, icons, letterheads ect.  
-Support across most devices, formats, mediums ect.  
-A bit of bling to the brand that makes it stick out (UI, UX, animations ect)

If I went to a graphic designer for logo’s and icons and they said:  
You can have a nice gradient animation on your logo:

- In SMIL → works anywhere SVG does AND can be done with our vector software (if we get some SMIL plugins)
- JS only works on the web AND you need a developer to code you up an animation.

What would you pick? It’s an absolute no brainer…

You are not thinking of the web as a whole!  
You are trying to keep animations the exclusive domain of developers.  
Same as everybody else that has tried to kill SMIL.

I think in most cases artists can do a better job at animations than developers. I couldn’t make this. I doubt you could.

[http://www.tbyrne.org/portfolio/smil/LoveDota.svg](http://www.tbyrne.org/portfolio/smil/LoveDota.svg)

This is what an artist can do with vector software and a SMIL plugin.

I have no problem paying somebody else for good vector art.  
AND I’m not scared that of artist and designers making animations.

> [@prg9](#):
>
> That’s not exclusive to SMIL either. SVG supports `<style>` and `<script>` tags to provide the same aspect for self-containing CSS & JS within SVG delivery.

SMIL animations can work anywhere SVG is supported JS cant.

> [@prg9](#):
>
> It was referencing the tutorial you posted from 2014. Unless I’m mistaken none of them or anyone really is widely endorsing a cosmic shift towards SMIL even in 2020 / 2021.

CSS and JS is a better option than SMIL for 50-70% of animations.  
BUT I think that the convenience of using animated icons and logos anywhere makes SMIL a better method for maybe 30-50% of animations.

---

<div class="post-metadata">

**Author:** ![prg9](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@prg9](https://forum.kirupa.com/u/prg9)\
**Post date:** [March 1, 2021, 3:27am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/13 "2021-03-01T03:27:28Z")

</div>

Regarding this thread, I’ve seen you’ve mentioned similar things a few places elsewhere about SMIL’s arrival for about a year now. I earnestly wish you the best regarding your SMIL only d\*amn everything else approach. I’ll be curious to see if the industry follows.

> [@steve.mills](#):
>
> I doubt you could.

^ Wow. My fine art professors from back in college would probably beg to differ. Or these current five canvases leaning against the wall beside me. But thanks for the _ass_umption though.

> [@steve.mills](#):
>
> This is what an artist can do with vector software and a SMIL plugin.

It’s not about the plugin but the fact that Flash was/is an animators dream IDE. The actual plugin is a small part of that equation (export) to create such work. If you had Flash instead of Inkscape you could be animating your \*icons with the same plugin.

> [@steve.mills](#):
>
> You are not thinking of the web as a whole!

Oddly you’re the one whom seems solely focused on SMIL and \*icons, icons, icons. Both of which you keep focussing on while not feeling either is a niche aspect or entity.

> [@steve.mills](#):
>
> You are trying to keep animations the exclusive domain of developers.

I guess you missed above where I mentioned there are many visual UI options for those who want to forgo code? Designers and front-end folks don’t even need to touch CSS or JS to have animated SVG’s with all the opportunities which exist.

> [@steve.mills](#):
>
> Support across most devices  
> SMIL animations can work anywhere SVG is supported JS cant.

I would really love to hear you **discuss in detail** more about **all** the places where common web tech fails to work (since its used virtually everywhere) and where presently only SMIL can successfully succeed.

---

<div class="post-metadata">

**Author:** ![steve.mills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steve.mills/32/14961_2.png) [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Post date:** [March 1, 2021, 5:06am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/14 "2021-03-01T05:06:39Z")

</div>

> [@prg9](#):
>
> t’s not about the plugin but the fact that Flash was/is an animators dream IDE. The actual plugin is a small part of that equation (export) to create such work. If you had Flash instead of Inkscape you could be animating your \*icons with the same plugin

Like you said, now we have all these cool technologies (canvas webGL ect) to replace Flash.  
I guess the web ‘Gods’ know best about what technologies should be killed off…

> [@prg9](#):
>
> I would really love to hear you **discuss in detail** more about **all** the places where common web tech fails to work (since its used virtually everywhere) and where presently only SMIL can successfully succeed.

Any non scripting environment that SVG is supported e.g email.

BUT wouldn’t it be nice if we couldn’t have `<script>` tags embedded in SVG.

Maybe Facebook and Twitter would allow .svg files to be uploaded onto the feed and logos and onto profile pictures.

> Maybe JS inside SVG is the problem…

> [@prg9](#):
>
> ^ Wow. My fine art professors from back in college would probably beg to differ. Or these current five canvases leaning against the wall beside me. But thanks for the _ass_umption though.

I apologize, I didn’t realize you were an artist. It was a bit presumptive to assume that somebody who is clearly biased against SVG having its own native animations, was not an artist.

There’s been nothing but sarcasm from you since the start.  
Why try and rag on a technology that has inspired advances in CSS and JS and has an advantage in certain use cases.

Do you have shares in Adobe or Greensock?

---

<div class="post-metadata">

**Author:** ![prg9](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@prg9](https://forum.kirupa.com/u/prg9)\
**Post date:** [March 1, 2021, 5:29am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/15 "2021-03-01T05:29:48Z")

</div>

Flash (Animate) can still be used for the purpose of that SVG plugin and many more. Just not SWF on the web via Flash Player.

> [@steve.mills](#):
>
> Any non scripting environment that SVG is supported e.g email.

• [Can I email… Search](https://www.caniemail.com/search/?s=svg) ?

What other non-scripting environments are there, how does CSS animation play into that?

> [@steve.mills](#):
>
> wouldn’t it be nice if we could **n’t** have `<script>` tags embedded in SVG

Could or Couldn’t? You can have scripts in SVG as expressed above.

Sarcasm?

Just trying to have a broad conversation not just solely about animated icons with SMIL.  
😉

---

<div class="post-metadata">

**Author:** ![steve.mills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steve.mills/32/14961_2.png) [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Post date:** [March 1, 2021, 6:08am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/16 "2021-03-01T06:08:00Z")

</div>

Thanks champ.  
You have inspired me to propose some changes to SVG and SMIL so that it doesn’t go the way Flash did.

---

<div class="post-metadata">

**Author:** ![prg9](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@prg9](https://forum.kirupa.com/u/prg9)\
**Post date:** [March 1, 2021, 6:14am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/17 "2021-03-01T06:14:47Z")

</div>

That’s all fine and well but where are all these places where only SMIL works like you have declared? Don’t gloss over things now, we’ve come this far.

---

<div class="post-metadata">

**Author:** ![prg9](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@prg9](https://forum.kirupa.com/u/prg9)\
**Post date:** [March 1, 2021, 5:50pm UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/18 "2021-03-01T17:50:57Z")

</div>

@steve.mills Why does the supposed “solution” of a `discussion only` thread keep changing around amongst your own responses, is it even needed? Or is it now merely for perceived optics after the fact given its a continuing moving target. 😉

> [@steve.mills](#):
>
> You have inspired me to propose some changes to SVG and SMIL so that it doesn’t go the way Flash did.

**SVG** in general will not have the same fate as Flash. But what recommendations will you be making / suggesting for the SVG / SMIL spec?

---

<div class="post-metadata">

**Author:** ![steve.mills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steve.mills/32/14961_2.png) [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Post date:** [March 2, 2021, 4:10am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/19 "2021-03-02T04:10:38Z")

</div>

> [@prg9](#):
>
> Why does the supposed “solution” of a `discussion only` thread keep changing around amongst your own responses, is it even needed? Or is it now merely for perceived optics after the fact given its a continuing moving target.

The first time I accidentally clicked ‘solution’ without even realizing until you quoted it. - well done champ, you picked up my mistake… no need to be a dick about it…

The second solution click was just there to bring the readers down the page- you must really want that tick…

---

<div class="post-metadata">

**Author:** ![steve.mills](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/steve.mills/32/14961_2.png) [@steve.mills](https://forum.kirupa.com/u/steve.mills)\
**Post date:** [March 2, 2021, 5:49am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/20 "2021-03-02T05:49:10Z")

</div>

> SMIL is more powerful than CSS animations period.

When CSS has full support for:  
-animate path  
-motion path  
-access DOM events → click, animation start/ end ect  
-chain animations with e.g ‘animation1 + 5s’  
-start animation on element1 by clicking element2;  
-set attributes of another svg element on animation start or end using `<set>`

Then yeah maybe there’s a case to deprecate SMIL.

> SMIL is more flexible period

Animate without JS inside:

- `<img>`
- `background-image{url('eg.svg)}`
- email

> Maybe if SVG dropped inline `<script>` support

-Facebook would allow uploads  
-Twitter would allow uploads  
-All the email clients would support svg

> SVG could be the dominant format for everything icon /logo /button/ UI everywhere browser/ app/ desktop.

If:  
-It stays declarative and easy to read `<tags>`  
-It is a standalone format with its own animations  
-It integrates better with other formats  
-Its a minimal attack vector  
-Vendors get on board with the format

> -People aren’t so short sighted…

Your a troll and I’m not interested in discussing it further…

---

<div class="post-metadata">

**Author:** ![prg9](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@prg9](https://forum.kirupa.com/u/prg9)\
**Post date:** [March 2, 2021, 7:21am UTC](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271/21 "2021-03-02T07:21:51Z")

</div>

> [@steve.mills](#):
>
> dick about it

> [@steve.mills](#):
>
> Your a troll

^ Again very classy.

I’ve taken note throughout that only your opinion matters. I will make sure to avoid your posts going forward especially since there seems to be an utter absence of you following up on your own claims and statements.

All the best regarding your SMIL or nothing quest and good luck with all those icons you rave about. Since “_SMIL is the answer_”, I look forward to seeing this SMIL revolution unfold that you speak of so adamantly.

 ![smil-seems-like-the-answer](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/2X/2/200a37ad5d433d1e161a48106bb983f820e6ea97.png)

Given that you’re still seeking a plugin. I guess you didn’t learn to write SMIL over the course of the last year even though its so important to you.

✅ Thanks for your closed minded one-sided conversation.

[Next page](https://forum.kirupa.com/t/svg-smil-probably-here-to-stay/646271.md?page=2)
