following Stephan Tolksdorf's post in this newsgroup about doctypes in
Mozilla, I had filed bug 105640 to implement document.compatMode, the
same property as MSIE's to determine whether we are in Strict mode, or
Quirks mode. It has been fixed today, meaning it will not be in 0.9.6
but will be in nightlies from now on till we rewrite everything ;-)
Syntax: document.compatMode
Return Values:
String: "CSS1Compat" for Strict mode
"BackCompat" for Quirks mode.
We argued for a while whether we should return different values for
Mozilla, but in the end we settled for the same values, since web
developers can distinguish the two browsers using other ways already.
Have a nice day,
-Fabian.
Hopefully Netscape will incorporate this fix soon.
Have a nice weekend,
Stephan