W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] Tag Soup: Blocks-in-inlines

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 25 Jan 2006 19:14:14 +0200
Message-ID: <043B3892-33D4-4D7F-B577-71D3A3398492@iki.fi>
On Jan 25, 2006, at 15:15, Lachlan Hunt wrote:

>> I don't think there's much advantage of differentiating between  
>> "well-formed" and "malformed" markup. They should be parsed the  
>> same to keep things simple and predictable. Thus, <em><p>XY</p></ 
>> em> should be parsed as:
>> BODY
>>   + EM
>>   + P
>>     + EM
>>       + #text: XY
>> ...IMHO.
>
> Agree; but again, the empty EM element is redundant.

Yes, but is getting rid of it worth the trouble of deferring all  
inline start tag parse events until a another kind of parse event is  
seen? I think not.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Wednesday, 25 January 2006 09:14:14 UTC

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