<body>foo</h1>bar

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?

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Thursday, 2 April 2009 10:52:48 UTC