Internet Explorer 选择不支持 SMIL 动画有什么原因吗? future 版本的 Internet Explorer 是否支持 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/