Hi,
One of our users is having her browser (IE8 on Windows 7) unexpectedly operate in quirks mode. No other user, including others that are using IE 8 on Windows 7 are experiencing the same thing. We are not able to reproduce the behaviour in house.
For the user who is getting her browser set to quirks mode, we checked the Browser Mode and Document Mode in IE's Developer Tools. They report IE8 & IE8 standards mode, respectively.
Our website is a single page application style. The HTML page includes:
<!DOCTYPE HTML>
as the first line in the HTML page (there is no comment that precedes this). Inside the head element of this page, the first tag is:
<meta http-equiv="X-UA-Compatible" content="IE=Edge"><!-- force IE to use the latest rendering engine -->
The http response for the page also sets the X-UA-Compatible header to IE=Edge.
We have JavaScript code that checks for quirks mode like this:
isIEQuirks: isIE && (!isStrict && (isIE6 || isIE7 || isIE8 || isIE9))
isStrict is defined like this:
isStrict = document.compatMode == "CSS1Compat"
I've read through this:
http://blogs.msdn.com/b/ie/archive/2010/03/02/how-ie8-determines-document-mode.aspx
but I don't see anything other than the Developer Tools settings that would override the document type or X-UA-Compatible setting for an individual machine.
Does anyone have any suggestions or even guesses as to what might be happening?
Thank you,
Notre