1

如果我使用 F12 开发者工具调试 IE,我可以依靠“浏览器模式”和“文档类型”来调试 IE8 及以下的问题吗?

通过调试,我主要是指整体页面行为... HTML/CSS,客户端说“下拉菜单在 IE8 中不起作用”,我有 IE9... 本能是按 F12 并更改文档类型或浏览器模式并进行测试.

4

2 回答 2

1

简短的回答,不。

不建议使用兼容模式。我一直不太明白为什么MS似乎不做什么MozillaGoogle做什么,就是不允许使用已弃用的标签。例如,在我的工作中,我们有两个浏览器使用层,第 1 层和第 2 层。第 1 层包括:( Safari奇怪的是,我们有很多客户通过他们的 iPad 购买)ChromeFirefoxIE9。第二层是: IE8和剩下的那堆。最近,我们遇到了一个错误,其中一些checkboxes地方无法正确渲染**only IE8**;但在IE7IE9. 这里的寓意是,使用兼容模式是在假设下进行测试,如果你想要彻底和正确的测试,你不能假设任何事情。

于 2013-02-02T19:05:36.873 回答
0

You can try to use the Quirks mode, but that's not 100% the same. If you are lucky, you will hit the same bug also in quirks mode.

The only sure way is to use a IE8. There are cross-browser testing tools that enable you to do so without any installs.

Just for bug reporduction purposes http://www.modern.ie/virtualization-tools offers some VM-s you can use.

于 2013-02-05T13:37:07.720 回答