W3C home > Mailing lists > Public > public-html@w3.org > April 2009

<body>foo</h1>bar

From: Henri Sivonen <hsivonen@iki.fi>
Date: Thu, 2 Apr 2009 13:49:54 +0300
Message-Id: <5CF75564-A939-43AA-A4FD-D23969369991@iki.fi>
To: HTML WG <public-html@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:02 UTC