Re: Doctype detection

So, you want Mozilla to strictly parse any documents without a
doctype declaration as HTML 2.0, throwing out/ignoring any and
all tags and attributes introduced in HTML 3.2 and HTML 4.x?

This breaks a great many presentational attributes (obviously),
>>tables<<, various form controls, and *any references to classes
or ids in your stylesheets*.

Referencing RFC 1866, section 4.2.1.
   "markup in the form of a start-tag or end-tag, whose generic
   identifier is not declared is mapped to nothing during
   tokenization. Undeclared attributes are treated similarly. The
   entire attribute specification of an unknown attribute (i.e.,
   the unknown attribute and its value, if any) should be ignored."

They even give you a demonstration of throwing out attributes--
using "class" and "id" as examples.

This is.. acceptable in the web community?

Received on Wednesday, 26 July 2000 15:29:02 UTC