Re: <body>foo</h1>bar

On Thu, 2 Apr 2009, Henri Sivonen wrote:
>
> The spec has an "XXX quirks" comment about this case. WebKit, Gecko and 
> Opera do not insert an element node for the </h1> token--neither in 
> standards nor in quirks. (WebKit and Opera split the text node, though.) 
> IE8 inserts an empty 'h1' node in both standards and quirks.
> 
> Based in these behaviors, it seems that there's no standards vs. quirks 
> dichotomy need here. Also, since WebKit, Gecko and Opera get away with 
> not inserting the empty node here, perhaps it's not really needed for 
> Web compat? Has there been a particular reason to keep this "XXX quirks" 
> over potential other actual quirks mode differences?

Removed the XXX quirk comment.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 1 May 2009 23:33:23 UTC