Re: //head/object

On May 3, 2010, at 7:55 AM, Toby Inkster wrote:

>
> In most browsers as measured by counting the number of vendors  
> perhaps,
> but in most browsers as measured by counting the number of users it
> seems not.
>
> Filing a bug against html5-diffs seems to beg the bigger question of
> whether <object> should be allowed inside <head>. I can't find any
> record of this having been discussed - the HTML5 draft spec seems to
> have just accepted the behaviour of Opera, Gecko and WebKit, even
> though it goes against the HTML 4 specification, and against Internet
> Explorer's behaviour.
>
> I don't have a strong opinion either way, but before filing a bug, I
> think we need to discuss whether that bug should be against html5- 
> diffs
> or against html5.
>

Feel free to keep discussing if that seems more appropriate.

<chair hat off>

Some technical input on this: I would guess the reason <object> in  
<head> is not allowed is because it won't work as expected in legacy  
browsers. Even if the UA behavior was changed, it would not be safe  
for sites to rely on this for some time.

Also, due to the "dual code path" phenomenon, it's plausible there are  
sites that depend on the Presto/Gecko/WebKit behavior in their non-IE  
versions. I don't have any data on this however.

Regards,
Maciej

Received on Monday, 3 May 2010 22:14:54 UTC