Hi Richard,

thanks for the reference. I didn't know about the compatMode
parameter, which seems to be a reliable test for IE6 strict mode.

But according to:
http://developer.apple.com/internet/_html/doctype.html

this test:
this.strict=(document.compatMode=="CSS1Compat"||(document.doctype&&document.
doctype.name.indexOf(".dtd")==-1))?true:false;

doesn't catch the following Mac case:

"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

This DOCTYPE claims that the document is a strict document; that is,
it is authored according to a strict adherence to the W3C
specification, and uses no presentational markup (like <FONT>). Upon
seeing this, IE5/Mac will kick its rendering engine into standards
mode, so that your document will be displayed according to the W3C
standards."

The possible combinations of (platform * browser * compatibility mode)
is growing exponentially. Doesn't make our life easier...

Stephan


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/

Reply via email to