[whatwg] Parsing: <cite> element

Anne van Kesteren annevk at opera.com
Thu Dec 14 10:59:27 PST 2006


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/>



More information about the whatwg mailing list