Re: Doctype detection

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 UTC