IE8的开发者工具兼容模式中的IE7对于测试网站的前端设计可靠吗?
我一直在 IE 8 的 IE7 浏览器模式上测试我们的网站,它到处显示一些前端/错位问题。不过,我不确定它是否完全可靠。我不想修复实际 IE 7 浏览器上未实际显示的问题。
我需要建议它是否足够可靠以用于跨浏览器测试,或者我们是否应该使用实际的 IE7。
谢谢。
I've been testing our website on IE 8's IE7 browser mode and it shows some few front-end/misalignment issues here and there. However, I'm not sure if it's completely reliable. I don't want to fix issues that aren't actually being displayed on an actual IE 7 browser.
I need advice whether it's reliable enough to use for cross-browser testing or if we should use an actual IE7 instead.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我可以肯定地告诉你,IE8 的 IE7 模式对于测试 IE7 兼容性来说不够。
它不能像 IE7 一样准确地渲染 - 我见过几个它出错的具体情况。
它也有自己的怪癖和错误,这些怪癖和错误在正常模式下的 IE7 或 IE8 中都不会出现。
我们为 IE7 及更高版本(当然还有所有其他浏览器)开发网站。最近我们发生了一起事件,一些内部用户发现他们无法使用网站上的菜单。
事实证明,IE8 有一个不起眼的设置,只能为 Intranet 站点打开 IE7 模式。我们的用户打开了此标志(没有意识到),因此正在 IE7 模式下查看该网站。
我们在 IE7 和 IE8 中进行了全面测试,它们都可以工作,但在 IE8-in-IE7 模式下它会崩溃。
您绝对应该使用真正的 IE7 安装进行测试,而不是尝试使用 IE7 模式进行测试。
我建议您安装 IETester 它允许您运行所有版本的 IE (IE5 .5 一直到 IE9) 在选项卡中一起测试您的网站。它确实存在错误并且经常崩溃,因此它不适合用作真正的浏览器,但它非常适合测试。
I can tell you for sure that IE8's IE7 mode is not good enough for testing IE7 compatibility.
It doesn't render accurately as IE7 - I've seen several specific cases where it got it wrong.
It also has quirks and bugs of its own which don't appear in either IE7 or IE8 in normal mode.
We develop our site for IE7 and greater (along with all other browsers of course). We had an incident recently where some of our internal users found they couldn't use the menu on the site.
Turns out that IE8 has an obscure setting which can turn on IE7 mode for intranet sites only. Our users had this flag switch on (without realising it), and so were viewing the site in IE7 mode.
We had tested fully in both IE7 and IE8 and they both worked, but it broke in IE8-in-IE7 mode.
Instead of trying to test using IE7-mode, you should definitely test with a real IE7 install.
I would recommend you install IETester which allows you to run all versions of IE (IE5.5 all the way up to IE9) together in tabs to test your site. It does have bugs and does crash quite often, so it's not suitable for use as a real browser, but it is great for testing.