W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2005

[whatwg] The <object> element and fallback content

From: Christian Biesinger <cbiesinger@web.de>
Date: Tue, 03 May 2005 19:53:49 +0200
Message-ID: <4277BAAD.50105@web.de>
Hi,
I got some questions about the <object> element. whatwg doesn't specify 
that yet, but I'm told it will.

Consider this HTML snippet:
   <object data="http://foo/some_404_page"></object>
So, no fallback content is given.

Should the 404 page be rendered, or should the object behave like it was 
display:none? (It seems pretty clear to me that if fallback content is 
given, that should be used for 404 pages. The question is, of course, 
what would constitute lack of fallback content, especially in the light 
of <param>)


Then, what about:
   <object data="http://www.mozilla.org/" type="x-foo/x-bar"></object>

Clearly, that MIME type is not supported by anything. So... should the 
browser request http://www.mozilla.org, find out it's text/html, and 
render it, OR should it show nothing (or fallback content if any) 
because the type is not supported anyway?


-biesi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4792 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20050503/5ab2c8b6/attachment.bin>
Received on Tuesday, 3 May 2005 10:53:49 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC