Re: Ignoring empty paragraphs

On Sun, 9 Apr 2000 20:43:55 -0400 (EDT), "Braden N. McDaniel"
<braden@endoframe.com> wrote:

>On Sun, 9 Apr 2000, Jan Roland Eriksson wrote:
>
>> On Tue, 4 Apr 2000 03:09:26 -0400 (EDT), "Braden N. McDaniel"
>> <braden@endoframe.com> wrote:
[...]
>> >Indeed, but it is *not* the parser's job to fix errant
>> >document structure!

>> Fair enough. But...
>> What about "styling" of non existing content?
>> Leave that no-content element dangling in the DOM tree and we need to
>> move the decision not to style it to the CSS renderer instead.

>> If not, we will not have a way to discourage the use of successive P's
>> for vertical spacing, and that is what I think David's question was all
>> about.

>Hm. That's a good point. I think the bottom line here is that the rule in
>the HTML spec is Stupid: if the spec authors wanted to discourage empty P
>elements, they should have made them altogether illegal.

Exactly.
Looking into that :)

-- 
Jan Roland Eriksson <jrexon@newsguy.com>
<URL:http://member.newsguy.com/%7Ejrexon/>

Received on Monday, 10 April 2000 18:00:25 UTC