[whatwg] Tag Soup: Blocks-in-inlines

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