简体   繁体   English

IE11中的兼容模式

[英]compatibility mode in IE11

How can I use the compatibility mode in IE11 like I had it in IE10? 如何在IE11中使用IE11中的兼容模式?

Under Emulation I find compatibility for documentmodus. 在Emulation下,我找到了documentmodus的兼容性。 But is this realy the old compatibility mode from IE10? 但这是否真的是IE10的旧兼容模式? Most important for me is the Feature-Set for javascript. 对我来说最重要的是javascript的功能集。

Under Emulation I find compatibility for documentmodus. 在Emulation下,我找到了documentmodus的兼容性。

Yep, that's right. 是的,没错。 That's what you're looking for. 这就是你要找的东西。

But is this realy the old compatibility mode from IE10? 但这是否真的是IE10的旧兼容模式?

Yes. 是。 This is exactly the same feature as the compatibility mode that was available in earlier IE versions. 这与早期IE版本中提供的兼容模式完全相同。

Most important for me is the Feature-Set for javascript. 对我来说最重要的是javascript的功能集。

I'm not really sure what you mean by this, but the document modes available in IE11 are exactly the same as the ones available in IE10, so whatever you were doing in IE10 should be the same in IE11. 我不太确定你的意思,但是IE11中提供的文档模式与IE10中的文档模式完全相同,所以无论你在IE10中做什么都应该在IE11中是一样的。

It's worth pointing out that the use of compatibility mode is discouraged in most cases (MS originally planned to drop it from IE11, and only brought it back at the last minute). 值得指出的是,在大多数情况下不鼓励使用兼容模式(MS最初计划将其从IE11中删除,并且仅在最后一刻将其恢复)。

If you're using compat mode for testing that your site works with older IE versions, it is not a good solution for this, because the various compatibility modes are not 100% compatible with real IE versions. 如果您使用compat模式测试您的站点是否与旧的IE版本一起使用,那么这不是一个好的解决方案,因为各种兼容模式与真正的IE版本不是100%兼容。 (this has always been the case; nothing new here with IE11). (这一直是这种情况; IE11没有新的内容)。

For testing purposes, it is better to use real copies of each IE version that you need to support. 出于测试目的,最好使用您需要支持的每个IE版本的真实副本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM