[whatwg] document.head

Ian Hickson ian at hixie.ch
Sun Oct 11 18:11:07 PDT 2009

On Tue, 6 Oct 2009, Hallvord R M Steen wrote:
> You might think so. However, as Michael stated above Opera used to do 
> this, and it broke a number of websites that expected 
> documentElement.firstChild to be <HEAD> no matter what the actual markup 
> looked like. So we had to implement a somewhat magic firstChild on 
> documentElement and I expect other browsers had to too (as your testing 
> seems to confirm, more or less). Which reminds me, this peculiarity 
> should possibly be documented in HTML5 :-) .

As far as I can tell, the parser covers this. There's no need for more 

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list