[whatwg] [html5] tags, elements and generated DOM

Ian Hickson wrote:
>> The head element seems to be implied by Mozilla and IE.
> 
> Even when there are no elements that imply a <head>? I meant, e.g.,
> when parsing the empty string as HTML. My understanding was that no
> <head> element was generated in that case.

  <data:text/html,>

... generates both in Firefox 1.0 and in recent nightlies:

  HTML
   HEAD
   BODY

... I haven't tested in other browsers.


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

Received on Tuesday, 5 April 2005 12:15:44 UTC