W3C home > Mailing lists > Public > www-html@w3.org > July 2000

Re: Doctype detection

From: Matthew Brealey <webmaster@richinstyle.com>
Date: Thu, 27 Jul 2000 10:43:04 +0100
Message-ID: <398003BC.38C5@richinstyle.com>
To: www-html@w3.org, www-style@w3.org
Christian Smith wrote:
> 
> 4) And this is the kicker, if the document does not validate as HTML 2.0,
> the browser is free to do any darn thing it wants and still be a
> conforming UA since the behaviour of the UA in the presense of an error is
> undefined.
> 
> So, if the document has no DOCTYPE and doesn't validate as HTML 2.0 is may
> do what it wants. If the file has a DOCTYPE but doesn't validate against
> the specified version of HTML it can do what it wants.

This is a fine example of doublethink. On the one hand the browser is
said to have a responsibility to cope with crappy and invalid pages by
inflicting bugs on the rest of us, yet on the other, when it doesn't
find a DOCTYPE, in a rather feeble attempt at justifying the
perpetuation of a broken web ad infinitum, you claim that it can do what
it wants. 
 
-----------------------------------
Please visit http://RichInStyle.com. Featuring:
MySite: customizable styles.         AlwaysWork style 
Browser bug table covering all CSS2 with links to descriptions.
Lists of > 1000 browser bugs         Websafe Colorizer 
CSS2, CSS1 and HTML4 tutorials.      CSS masterclass 
CSS2 test suite: 5000++ tests and 300+ test pages.
Received on Thursday, 27 July 2000 05:43:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT