Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is SVG SMIL animation not supported by Internet Explorer

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

like image 873
cport1 Avatar asked Aug 10 '15 18:08

cport1


People also ask

Is SMIL deprecated?

Warning: Although Chrome 45 deprecated SMIL in favor of CSS animations and Web animations, the Chrome developers have since suspended that deprecation. Firefox 4 introduced support for animating SVG using Synchronized Multimedia Integration Language (SMIL).

What is SMIL SVG?

Synchronized Multimedia Integration Language, or SMIL, is a language separate from, but closely integrated with SVG. It allows for various animation effects to be used in conjunction with SVG. SMIL has been a W3C recommendation since 1998 when version 1.0 was adopted22.

Can I use SVG animations?

SVGs can be styled and animated with CSS (slides). Basically, any transformation or transition animation that can be applied to an HTML element can also be applied to an SVG element. But there are some SVG properties that cannot be animated through CSS that can through SVG.


1 Answers

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.

like image 109
Josiah Keller Avatar answered Oct 09 '22 03:10

Josiah Keller