[whatwg] Parsing: don't move <meta> and <link> to <head>

Anne van Kesteren annevk at opera.com
Wed Jun 20 02:18:17 PDT 2007


On Wed, 20 Jun 2007 04:00:03 +0200, Ian Hickson <ian at hixie.ch> wrote:
> On Mon, 21 May 2007, Anne van Kesteren wrote:
>>
>> Internet Explorer 7 and Opera 9 don't move <meta> and <link> to the
>> <head> element during parsing (much like they don't do that for
>> <style>). I think that's a good enough reason to change the parsing
>> specification to match that behavior. Besides the fact that it is more
>> sensible as the DOM and the original input stream are closer to each
>> other.
>
> Done.

This also applies to the <title> element in Opera 9. Internet Explorer 7  
always drops the <title> element from the DOM. The first <title> in  
document order (depth-first) is equal to document.title.


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



More information about the whatwg mailing list