[whatwg] [WA1] INS/DEL and omitted </p> tags
Ian Hickson
ian at hixie.ch
Fri Mar 10 17:02:43 PST 2006
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list