W3C home > Mailing lists > Public > public-html@w3.org > December 2008

Re: Void elements in HTML (Was: ZIP-based packages and URI references into them ODF proposal)

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 31 Dec 2008 13:05:56 +0100
Message-ID: <495B6024.1050709@gmx.de>
To: Ian Hickson <ian@hixie.ch>
CC: public-html@w3.org

Ian Hickson wrote:
> ...
> Right, but we disagree on this, as noted earlier in this thread. I have to 
> balance all the various needs here. Some of these needs are better 
> satisfied by introducing lots of new void elements frequently; other needs 

Which particular need requires introducing void elements?

> ...
>> Could you please explain (or point to an explanation) why exactly it 
>> needs to be known beforehand whether something is block-level or not? 
>> It's certainly not needed for serializing a DOM, so I assume the parser 
>> needs to know for some reason?
> Block-level elements have to be known by the parser so that optional </p> 
> end tags can be implied.
> ...

Just make the </p> end tags required in this case. Problem solved.

Best regards, Julian
Received on Wednesday, 31 December 2008 12:06:44 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:40 UTC