Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Internet Explorer 11 still have quirks mode?

Does Internet Explorer 11 still have quirks mode available? We use a very old system which relies on the quirks mode.

I know it's a very old and vulnerable environment but I'm just wondering if it will stay working.

like image 545
Willem de Wit Avatar asked Sep 03 '13 11:09

Willem de Wit


People also ask

How do I know if Internet Explorer is in quirks mode?

In IE you will see it in the developer tools (pressing F12), it says it in the menu: Document Mode:... And you can also force a different mode there.

Does Windows 11 have IE mode?

Microsoft disabled IE in Windows 11, making it the first version of Windows without IE for more than 20 years. In fact, if you even try to launch Internet Explorer in Windows 11, the OS simply forces you into Microsoft Edge.

Is Internet Explorer 11 end of life?

Yes, Internet Explorer 11 is the last major version of Internet Explorer. The Internet Explorer 11 desktop application went out of support for certain operating systems starting June 15, 2022*. Customers are encouraged to move to Microsoft Edge with Internet Explorer (IE) mode.

How do I change IE11 to IE8 compatibility mode?

Restart Internet Explorer 11 and open the site you're testing, then go to Emulation tab in the F12 Developer Tools and select Enterprise from the Browser profile dropdown. If the site works, inform the IT administrator that the site needs to be added to the IE8 Enterprise Mode section.


1 Answers

Yes it does.

IE11 has all the same backward-compatibility modes as IE10 did (plus an IE10-compat mode of course).

In fact, in common with IE10, there are actually two quirks mode which are very slightly different from each other. ("Quirks mode" and "IE5 Quirks mode"). But for most purposes you don't really need to know that; it'll default to the original Quirks mode in the absence of a doctype, just the same as previous IE versions.

So the short answer to your question is "Yes, you're fine; it's still there and your page will still work just as well in IE11 as it did in IE10."

However, IE's engineers are trying to discourage the use of these modes.

The main way they've done this is by hiding them in the dev tools panel -- the browser mode option is visible, but you only ever have at most two options: the mode that the page was loaded in, and the "Edge" mode for IE11 standards mode. If the page was loaded in standards mode, then you'll only ever see the "Edge" option.

This means that yes, you can load a page in quirks mode, if it is written that way, but if you load a page in standards mode, you won't be able to see the option to put that page back into quirks mode.

One thing to note is that if you're using certain other old features such as ActiveX controls embedded in the page, you may have issues with the browser's security model. This hasn't changed much between IE10 and IE11, so if your page works in IE10 then you should be fine, but if you're upgrading from IE9 to IE11, you may find some things break. There are ways to re-enable it, but it can be a bit ugly.

I would also point out that from a pure CSS perspective, converting from quirks mode to standards mode is actually remarkably easy. Most of the layout glitches caused by the switch are a result of the change in the box model, but standards mode can be set to use the same quirks mode box model simply by adding *{box-sizing:border-box;} to your CSS.

If layout is the main issue, you should consider giving that a try, because you may find that you don't actually need quirks mode afer all.

like image 124
Spudley Avatar answered Oct 02 '22 18:10

Spudley