Re: [CSS21] Test Suite

Chris Lilley wrote:
> Do they have actual documentation?

Mozilla's does.  See http://www.mozilla.org/docs/web-developer/quirks/doctypes.html

This code is the same across all platforms Mozilla supports.  The last change to 
this code was in July 2002.  So it is in fact pretty stable.

> IH> You don't have to cope with lots of rendering modes. Just trigger
> IH> standards more. To do that, just make sure the first thing in the document
> IH> is an HTML4 Strict DOCTYPE.
> 
> Even if you don't conform to it. Its a flag, not a DOCTYPE. Apparently.

There are other doctypes that trigger standards mode in certain browsers (eg 
HTML 4.01 Transitional can in Mozilla, per documentation sited above).  But if 
you need to trigger it consistently amongst all browsers...

> This becomes more of a problem when the XHTML DOCTYPES are used a s
> flags - using a different one, which is perfectly legal, might or might
> not trigger quirks mode.

If the XHTML is served as XHTML or XML, quirks mode doesn't apply, no matter 
what doctype (it's strictly a tag-soup thing).

> Is there a list of these triggers? Per browser/os/version, obviously, I
> don't imagine a single trigger works the same in all of them.

I would be interested in such a list myself...

-Boris

Received on Friday, 23 July 2004 11:37:19 UTC