internet-explorer - 为什么 Internet Explorer 不支持 SVG SMIL 动画

标签 internet-explorer svg smil

Internet Explorer 选择不支持 SMIL 动画有什么原因吗? future 版本的 Internet Explorer 是否支持 SMIL 动画?

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

最佳答案

根据您链接到的 caniuse.com 页面和 official status page for IE and Edge , Microsoft 不打算很快将 SMIL 添加到 IE 或 Edge。实际上,即使它出现在 Edge 上,它也可能不会出现在 IE 上,因为 IE 在 Windows 10 中的主要目的是遗留兼容性。至于为什么,我也不清楚。 This (old) answer表明微软对该规范有一些反对意见,但由于那是 5 年前的事,情况可能不再如此。

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

此外,this IE blog post从他们在 IE 9 中实现 SVG 开始,解释了他们当时不支持 SMIL 的原因:

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

这听起来像是他们期待规范发生变化,并且希望在实现之前稳定下来。这样一来,他们就不会因为交付过时的实现而陷入困境。也许到现在为止,该规范已经足够稳定,可以实现,但不再值得为此付出努力。

关于internet-explorer - 为什么 Internet Explorer 不支持 SVG SMIL 动画,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49911277/

相关文章:

javascript - 将图像添加到 SVG 圆

java - 如何在网页上突出显示文本 - 严格定时 - 没有 Flash 的卡拉 OK。选择什么技术?

javascript - 如何制作网球从水平表面弹起的动画

html - IE 与所有其他处理表 td-height 的不同处理方式?

internet-explorer - IPv6 地址在 Internet Explorer-10 websocket 中给出语法错误

css - IE 8 PNG正文背景问题

SVG animateTransform 翻译和缩放同时失败

javascript - IE8 出现问题 - 脚本在其他浏览器上完美运行

html - SVG 图像未在 Safari 中呈现

css - svg @font-face 在 svg 中有效,但在包含在页面中时无效