为什么Internet Explorer不支持SVG SMIL动画 [英] Why is SVG SMIL animation not supported by Internet Explorer

查看:105
本文介绍了为什么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页面和这个(旧的)答案表明微软对规范有一些异议,但是由于那是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.

Microsoft认为,在添加SMIL之前,尚有一些规范问题需要解决

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:

[...]在Web开发社区中对SVG的SMIL动画的支持远远不够. SVG标准化工作的负责人写道,最好不要在当前状态下支持SMIL,因为"SVG WG打算与CSS WG协调以对动画进行一些更改并扩展滤镜."已经开始协调CSS3动画和SVG.

[...] 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.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆