W3C home > Mailing lists > Public > www-style@w3.org > July 2004

Re: [CSS21] Test Suite

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 23 Jul 2004 10:37:12 -0500
Message-ID: <410130A8.8090802@mit.edu>
To: Chris Lilley <chris@w3.org>
Cc: www-style@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:31 GMT