本文介绍了为什么Internet Explorer不支持SVG SMIL动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Internet Explorer是否有选择不支持SMIL动画的原因?将来版本的Internet Explorer是否支持SMIL动画?

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

推荐答案

根据您链接到的caniuse.com页面和用于IE和Edge的官方状态页面,Microsoft并不打算在不久的将来向IE或Edge中添加SMIL.实际上,即使涉及Edge,它也可能不会出现在IE上,因为IE在Windows 10中的主要目的是旧版兼容性.至于为什么,我不确定. 这个(旧的)答案表明微软对规范有一些异议,但是由于那是5年前,情况了.

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.

此外,此IE博客帖子(他们在IE 9中实施SVG时的原因)解释了当时他们不包括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:

这听起来好像他们期望规范会有所更改,并且希望在实施之前解决该问题.这样,他们就不会因为过时的实现而陷入困境.也许到现在为止,该规范已经足够稳定,可以实施,但不再值得付出努力.

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.

这篇关于为什么Internet Explorer不支持SVG SMIL动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 01:29