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

Re: Doctype detection

From: fantasai <fantasai@escape.com>
Date: Wed, 26 Jul 2000 15:29:25 -0400
Message-ID: <397F3C14.1C86DECF@escape.com>
To: www-style@w3.org
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:54 UTC