为什么兼容模式仅在IE中不在其他浏览器中?

时间:2021-01-08 20:47:11

When i am checking my code with the developer tools (F12), I have seen the option Compatibility view only in IE browsers. Why don't other browsers have this compatibility view mode?

当我使用开发人员工具(F12)检查我的代码时,我已经在IE浏览器中看到了选项兼容性视图。为什么其他浏览器没有这种兼容性视图模式?

I am confused about this. Can you guys clarify, is there any specific reason for this?

我很困惑。你能澄清一下,有什么特别的原因吗?

2 个解决方案

#1


Because IE is the only mainstream browser which was so screwed up in its rendering that developers had to specifically work around IE problems and deliver alternative versions of their pages just for IE. The "compatibility mode" switches between the newer standards compliant mode and the older screw-up mode.

因为IE是唯一主流的浏览器,它在渲染中如此搞砸,以至于开发人员必须专门解决IE问题,并为IE提供其页面的替代版本。 “兼容模式”在较新的标准兼容模式和较旧的拧紧模式之间切换。

Other browsers don't have it because they've never had an alternative screw-up mode.

其他浏览器没有它,因为他们从未有过替代的搞砸模式。

#2


As for I know, IE mostly have compatibility issues with the older versions, That's why this option is provided by Microsoft. Moreover, very soon IE will be part of history as Microsoft is launching it all new web browser Microsoft Edge. http://en.wikipedia.org/wiki/Microsoft_Edge

据我所知,IE主要与旧版本存在兼容性问题,这就是微软提供此选项的原因。此外,很快IE将成为历史的一部分,因为微软推出了所有新的网络浏览器Microsoft Edge。 http://en.wikipedia.org/wiki/Microsoft_Edge

#1


Because IE is the only mainstream browser which was so screwed up in its rendering that developers had to specifically work around IE problems and deliver alternative versions of their pages just for IE. The "compatibility mode" switches between the newer standards compliant mode and the older screw-up mode.

因为IE是唯一主流的浏览器,它在渲染中如此搞砸,以至于开发人员必须专门解决IE问题,并为IE提供其页面的替代版本。 “兼容模式”在较新的标准兼容模式和较旧的拧紧模式之间切换。

Other browsers don't have it because they've never had an alternative screw-up mode.

其他浏览器没有它,因为他们从未有过替代的搞砸模式。

#2


As for I know, IE mostly have compatibility issues with the older versions, That's why this option is provided by Microsoft. Moreover, very soon IE will be part of history as Microsoft is launching it all new web browser Microsoft Edge. http://en.wikipedia.org/wiki/Microsoft_Edge

据我所知,IE主要与旧版本存在兼容性问题,这就是微软提供此选项的原因。此外,很快IE将成为历史的一部分,因为微软推出了所有新的网络浏览器Microsoft Edge。 http://en.wikipedia.org/wiki/Microsoft_Edge