W3C home > Mailing lists > Public > www-style@w3.org > April 1998

Re: Comments for CSS1 Test Suite

From: Chris Lilley <chris@w3.org>
Date: Fri, 10 Apr 1998 16:04:49 +0200
Message-ID: <352E2701.97AEF8A6@w3.org>
To: "Eric A. Meyer" <emeyer@sr71.lit.cwru.edu>
CC: www-style@w3.org
Eric A. Meyer wrote:

> >We can dream. Make the whole suite HTML 4.0 strict with DOCTYPEs. :-)
> 
>    There's a bit of debate over this one, actually.  I have at least one
> request to purposely leave out </P> tags in order to force tests of HTML
> parsing.  I'm still turning that one over in my head-- is this appropriate
> for a CSS test?  I can see reasons for and against, and haven't yet made up
> my mind.

Sure it is appropriate, if it is well explained what you are doig. And,
remember that HTML is an application of SGML, not of XML. So, omitted
end tags are legal where the DTD says so (this includes </p>) as indeed
some start tags are omisible.

Which, of course, makes parsing awkward. Which is why XML is better than
SGML.

So, you can be valid HTML 4.0 and still omit the end para tags. Of
course, some browsers erroneously give different rendering with and
without the closing </P>.

--
Chris
Received on Saturday, 11 April 1998 23:04:51 GMT

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