[whatwg] The <object> element and fallback content

Christian Biesinger cbiesinger at web.de
Tue May 3 10:53:49 PDT 2005


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


More information about the whatwg mailing list