forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Re: Comments on the DTD Deficiencies, a question and an attachment
Date Fri, 22 Nov 2002 03:32:20 GMT
On Thu, Nov 21, 2002 at 10:18:55AM -0800, Carlos Araya wrote:
> About "Allow <ol> and <ul> inside <p>"
> Please don't!!! That is a stylesheet's nightmare as it creates
> recursive calls,

Yes.. is that a problem?  They don't recurse forever.

> especially if you are allowing <p> inside <ol> and <ul>. It's much
> cleaner to break the paragraph with the list and then start a brand new
> paragraph rather than make the paragraph model largenr and potentially
> circular.

A paragraph is one "thought unit".  Frequently a list comprises the
second half of a sentence (one thought), eg:

Forrest is wonderful because

Lists don't have to be rendered as blocks of indented text.  With
appropriate CSS, that paragraph could be rendered in-line as "Forrest is
wonderful because blah.., blah...".


View raw message