[whatwg] Tag Soup: Blocks-in-inlines

Henri Sivonen hsivonen at iki.fi
Wed Jan 25 09:14:14 PST 2006

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:
>>   + 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

More information about the whatwg mailing list