What is X-UA-Compatible when it references IE=edge,chrome=1?

时光总嘲笑我的痴心妄想 提交于 2019-11-29 22:04:44
Bosworth99

It's for Google's Chrome Frame browser add-on.

ChromeFrame can be installed on various versions of IE (especially handy for older versions that don't play nicely with modern web features). It essentially runs the chrome browser inside of IE.

In the case of the meta tag, IE should run in standards mode (most current edition "Edge") - and activate chrome frames if it exists.

I usually do some conditional browser stuff for older versions of IE, allowing the user to install the add-on as an option.

More here : chrome frame API

(Keep in mind that Google Chrome Frame is no longer supported)

Doug Rohrer

Also, starting in IE11 "edge" mode, which used to be experimental, is now the "preferred" mode - see Compatibility changes in IE11 Preview

Additionally, "document modes" are generally being deprecated in IE11 all together, so you should probably try to stop depending on them.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!