Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
579 views
in Technique[技术] by (71.8m points)

Does the windows 8 internet explorer 10 still have quirksmode?

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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).

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.

For better notion, look at how IE renders Acid2 test in new quirks mode: new quirks mode and IE5 quirks mode: IE5 quirks mode

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.

Source: http://blogs.msdn.com/b/ie/archive/2011/12/14/interoperable-html5-quirks-mode-in-ie10.aspx


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...