Why is SVG SMIL animation not supported by Internet Explorer
Asked Answered
F

1

5

Is there a reason why Internet Explorer chose not to support SMIL Animations? Will future versions of Internet Explorer support SMIL animations?

http://caniuse.com/#feat=svg-smil

Fregoso answered 10/8, 2015 at 18:18 Comment(5)
IE has never been widely known as a good or standards-compliant browser. :-)Valonia
I couldn't tell you why, but it doesn't look like they're going to.Eustasius
Actually, it even says that on the caniuse page you linked to.Eustasius
It is not supported, also not in edge. See this page here: msdn.microsoft.com/en-us/library/gg193979(v=vs.85).aspx But you can achieve similar functionality by using JavaScript: samples.msdn.microsoft.com/workshop/samples/svg/svgAnimation/…Pumpernickel
Some people (not me) would say that SMIL is a massively bloated spec that's almost impossible to implement in a way that's guaranteed to work the same across multiple implementations, and the IE team made a good call. There is a library called fakeSMIL which is pretty good at faking SMIL for IELovemaking
E
7

According to both the caniuse.com page you linked to and the official status page for IE and Edge, Microsoft is not planning to add SMIL to IE or Edge anytime soon. Actually, even if it came to Edge it would probably still not come to IE since IE's primary purpose in Windows 10 is legacy compatibility. As for why, I don't know for sure. This (old) answer suggests that Microsoft had some objection to the spec, but since that was 5 years ago that might not be the case anymore.

Microsoft believes that there are spec issues to work out before they add SMIL

Additionally, this IE blog post from back when they implemented SVG in IE 9 explains their reasoning at the time for not including SMIL support:

[...] support for SMIL animation of SVG in the web development community is far from strong. The leader of the SVG standardization effort wrote that not supporting SMIL in its current state is probably best “since the SVG WG intends to coordinate with the CSS WG to make some changes to animation and to extend filters.” There’s already work started to reconcile CSS3 animations and SVG.

That makes it sound like they were expecting the spec to change and they wanted it to settle down before implementing it. That way, they wouldn't get stuck shipping an obsolete implementation. And perhaps by now the spec is stable enough to implement, but not considered worth the effort anymore.

Eustasius answered 10/8, 2015 at 18:28 Comment(3)
As of now (May 27th 2017) is this still the case? The caniuse.com website is reporting widespread support across the majority of browsers except Edge.Parboil
@Parboil The Edge status page that I linked above still says "Not currently planned."Eustasius
Thats a shame - it appears it could make some nice effects.Parboil

© 2022 - 2024 — McMap. All rights reserved.