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

Ian Hickson ian at hixie.ch
Thu Feb 23 18:29:43 PST 2006


On Tue, 5 Apr 2005, Anne van Kesteren wrote:
> 
> That also means that:
> 
>  <data:text/html,<style>body{background:lime}</style>>
> 
> ... generates:
> 
>  HTML
>   HEAD
>    STYLE
>     #text
>   BODY
> 
> ... whether you like it or not.

It actually varies on the browser. Some browsers have a TITLE, some omit 
the HEAD if there is no HEAD content, etc. Opera has a number of bugs with 
completely omitting the HEAD, in fact.

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