Windows 8 Internet Explorer 10仍然有quirksmode吗? [英] Does the windows 8 internet explorer 10 still have quirksmode?
问题描述
我想知道Windows 8上的IE10是否还有Quirksmode。因为我们有一个web应用程序(仍然:|)与quirksmode一起使用,我想知道它是否仍在Windows 8上运行。
I'm wondering if IE10 on Windows 8 still has Quirksmode in it. Because we have a webapplication that (still :|) works with quirksmode and I want to know if it is still working on Windows 8.
推荐答案
IE10有两种怪癖模式。新的称为Quirks模式,其行为与Firefox和Webkit中的怪异模式完全相同 - 您可以通过删除<!doctype>
来启用它。所有HTML5和其他新功能都适用于此模式。只存在一些次要规范违规(不需要CSS维度中的单位等)。
IE10 has two quirk modes. The new one is called "Quirks mode" and behaves exactly the same as quirks mode in Firefox and Webkit - you can turn it on by removing <!doctype>
. All HTML5 and other new features work in this mode. Only some minor spec violations are present (not requiring units in CSS dimensions and so on).
传统怪癖模式称为IE5怪癖模式并表现为怪癖模式在IE9中。您可以使用 X-UA兼容打开它:IE = 5
HTTP标头或< meta http-equiv = X-UA兼容的内容=IE = 5>
标记。在这种模式下,IE将页面呈现为旧的IE5。
The legacy quirks mode is called "IE5 Quirks mode" and behaves as quirks mode in IE9. You can turn it on with X-UA-Compatible: IE=5
HTTP header or <meta http-equiv=X-UA-Compatible content="IE=5">
tag. In this mode, IE renders the page as old IE5.
为了更好的概念,看看IE如何在新的怪癖模式下呈现Acid2测试:
和IE5怪癖模式:
For better notion, look at how IE renders Acid2 test in new quirks mode: and IE5 quirks mode:
如果您的应用程序也适用于Chrome和Firefox,您可能还想使用怪癖模式;如果只支持IE的怪癖模式,请打开IE5怪癖模式。
If your application works also in Chrome and Firefox, you'll probably want to use Quirks mode; if only IE's quirks mode is supported, turn on IE5 quirks mode.
来源: http://blogs.msdn.com/b/ie/archive/2011/12/14/互操作-html5-quirks-mode-in-ie10.aspx
这篇关于Windows 8 Internet Explorer 10仍然有quirksmode吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!