W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2006

[whatwg] [WA1] INS/DEL and omitted </p> tags

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 11 Mar 2006 01:02:43 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0603110101230.315@dhalsim.dreamhost.com>
On Fri, 25 Nov 2005, Mikko Rantalainen wrote:
> > 
> > Basically, when the parsing section gets written, it'll be written to 
> > match the behaviour that the most browsers do.
> 
> I think the Mozilla behavior is easier to implement because it doesn't 
> require knowledge about the DTD. The Opera behavior cannot be 
> implemented without having the knowledge that an ins element cannot 
> contain a p element. Should the UA also contain knowledge about every 
> other element so that it can correctly close all open inline elements 
> when it sees a tag that starts a block level element?

Pretty much, yes. To be compatible with the real world you pretty much 
have to hard-code every element anyway.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 10 March 2006 17:02:43 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:45 UTC