W3C home > Mailing lists > Public > public-html@w3.org > May 2010

Re: //head/object

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 4 May 2010 11:35:22 +0300
Cc: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>, HTMLWG WG <public-html@w3.org>
Message-Id: <C851DF73-791B-4685-9852-4020568DA1CA@iki.fi>
To: Toby Inkster <tai@g5n.co.uk>
On May 3, 2010, at 17:55, Toby Inkster wrote:

> I was thinking of using <object> in <head> as a way of embedding RDFa
> or microdata without disturbing the appearance of the page.

That doesn't seem like a legitimate use case of <object> to me. Rather, it seems like a way of exploiting the limitations of DTD-based validation. If you are using <object> for a purpose other than embedding an external resource, you are misusing <object> that already does too many things.

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

What HTML 4 said doesn't really matter. What Opera, Gecko, WebKit and IE do does. When there's a 3 vs. 1 situation with 3 on the side of parser simplicity, I think the spec should follow the 3.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 4 May 2010 08:35:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:08 GMT