I would like to know if the “edge” mode, set in the web page for Internet Explorer, enforces the user setting (if this user has set a compatibility mode).
For exemple :
1) In my web page :
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
2) In the user browser, for example Internet Explorer 8, the user set the compatibility mode to IE7.
What happens now if the user visits my web page? Which setting is considered? The webpage setting or the user setting?
The compatibility mode is fully explained by this diagram for IE9:
http://ieblog.members.winisp.net/misc/How%20IE9%20Determines%20Document%20Mode.svg
Refer to it for a good understanding of this IE feature.
My question is answered. There are two cases of user settings :
1) The mode indicated by the dev tools overrides all existing settings, including the X-UA-Compatible tag.
2) The user setting in the “compatibility settings” window does not overrides the XUA-Compatible tag.
In the first case, the edge mode will not be applied.
In the second case, it will be effective.