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 00:26:10 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0603110022480.315@dhalsim.dreamhost.com>
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

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