W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2005

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

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Fri, 25 Nov 2005 12:58:29 +0100
Message-ID: <20051125125829.nnctdove4hg8c0cc@webmail.annevankesteren.nl>
Quoting Mikko Rantalainen <mikko.rantalainen at peda.net>:
> The Opera behavior cannot be implemented without having the knowledge 
> that an ins element cannot contain a p element.

It can contain a 'p' element. Only not when its parent is 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?

Mostly, yes. Most browsers have very specific behavior depending on the 
element.
(Which not necessarily makes the DOM more conformant.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Friday, 25 November 2005 03:58:29 UTC

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