[whatwg] Parsing: <cite> element

For a string like:

   <!doctype html><cite><div></cite>TEST

The current text seems to suggest the following DOM (not including  
everything here):

   <cite>
     <div>
   "TEST"

Because </cite> is not a phrasing nor a formatting element the end tag  
won't be ignored and nodes will be popped from the stack. (See end of the  
"in body" phase.) However, browsers seem to do something closer to:

   <cite>
     <div>
       "TEST"

... in general. (Including whatever parser a certain Ian Hickson is using.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Thursday, 14 December 2006 10:59:27 UTC