Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

document.compatMode implemented in Mozilla nightly builds

1 view
Skip to first unread message

Fabian Guisset

unread,
Nov 10, 2001, 3:49:36 AM11/10/01
to Stephan Tolksdorf
Hi everyone,

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.

Stephan Tolksdorf

unread,
Nov 10, 2001, 4:21:26 AM11/10/01
to
Thank you very much Fabian.

Hopefully Netscape will incorporate this fix soon.

Have a nice weekend,
Stephan

0 new messages