I was testing the DynAPI examples, as there had been some reports of
problems using IE6 recently.
I could not find any errors (in CVS version) , so I only added is.ie6 to
browser.js .

There is one thing though, our examples don't use a doctype. This means that
IE6 runs in "quirks" mode, making it backwards compatible with IE5.5, but
making it less standards compliant.

The same thing applies to Mozilla, Netscape 6.x IE5/Mac (and IE6 PC now)

If we use this doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";>

it sets these browsers into "strict" mode (even though it says loose).

I think we should strive to get everything working in "strict" mode, as this
is more future-proof.
It should be possible to test for "strict", by adding this to browser.js:

    this.strict=(document.body.parentNode)?true:false

(not tested though).
I would suggest adding a check like this, and copying the whole examples
directory into /examplesstrict/ so we have all examples with doctype for
"strict" testing, and still leaving the current examples directory
unchanged.

What do you think?

Cheers,
Richard.




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

Reply via email to