“浏览器模式”之间的差异和“文档模式”。在Internet Explorer中 [英] Difference between "Browser Mode" and "Document Mode" in Internet Explorer

查看:105
本文介绍了“浏览器模式”之间的差异和“文档模式”。在Internet Explorer中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很高兴我不能再使用IETester,因为我们公司已经删除了IE6支持,IE9有一些非常酷的开发工具。我可以设置浏览器模式和文档模式,但我无法区分。有谁知道吗?这篇文章也没有帮助我: IE8浏览器模式与文档模式

I´m really glad that I must no more use IETester since IE6 support was dropped in our company and IE9 has some quite cool developer tools. I can set "Browser Mode" and "Document Mode" but I can´t tell the difference. Does anyone know it? This post also didn´t help me out: IE8 browser mode vs document mode

谢谢

推荐答案

文档模式是浏览器用来渲染的内容页面:IE9,IE8,IE7或Quirks。
浏览器模式设置浏览器如何向Web服务器和JavaScript标识自己。

Document Mode is what the browser uses to render the page: IE9, IE8, IE7 or Quirks. Browser Mode sets how the browser identifies itself to the web server and to JavaScript.

从测试的角度来看,这些是两个单独的选项似乎不必要地混淆你通常想要改变它们,例如,将浏览器模式设置为IE8,将文档模式设置为IE8,以使IE9假装为IE8。

From a testing standpoint, it seems unnecessarily confusing that these are two separate options and you usually want to change both, for example, set the Browser mode to IE8 and the Document Mode to IE8 to get IE9 to pretend to be IE8.

还有浏览器模式的Internet Exploer 9兼容性视图选项。这似乎与IE7模式相同,只是用户代理字符串也说Trident / 5.0(Trident是IE布局引擎)。

There's also the Internet Exploer 9 Compatibility View option for Browser Mode. This seems to be the same as IE7 mode except the user-agent string also says "Trident/5.0" (Trident is the IE layout engine).

这篇关于“浏览器模式”之间的差异和“文档模式”。在Internet Explorer中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆