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

Ian Hickson ian at hixie.ch
Fri Mar 10 16:26:10 PST 2006


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list