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

On Thu, 24 Nov 2005, Simon Pieters wrote:
> 
> Omitted </p> tags seems to be a bit of an issue in combination with INS 
> and DEL elements. How should a UA parse the following markup snippet?
> 
> <p>foo<ins><p>bar</ins>

 |
 +-- P
 |   |
 |   +-- #text "foo"
 |   |
 |   +-- INS 
 |
 +-- P
     |
     +-- #text "bar"

...according to the current spec.

Matches Safari and Opera. Matches IE, sort of, except IE does 
residual-style stuff on <ins>. Mozilla nests the <p>s.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 10 March 2006 16:26:10 UTC