W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2005

Object content and rendering

From: Karl Dubost <karl@w3.org>
Date: Thu, 30 Jun 2005 10:34:33 -0400
Message-Id: <d6f7dfe4f9943e1d0c63b8232d20c516@w3.org>
To: www-html@w3.org, www-html-editor@w3.org

Clarification needed

In this example:

<object src="http://www.example.com/foo.html" srctype="text/html">
     <em>alternate text</em>

I guess that foo.html MUST be a XHTML/HTML document, which means full  
doctype, head, body, etc.

But let's take another example like that:

<object src="http://www.example.com/something" srctype="@@type@@">
     <em>alternate text</em>

where something
<div id="bar">

* How would you insert something which is a part of an XHTML document,  
but not an XHTML document?
* what is the srctype?
* What MUST do a user agent?
	* MUST not interpret anything?
	* Follow the mime type sent by the server? even if it's wrong?
	* Display the alternate text?

Another issue:
	I would make it clear in the document, that the object element MUST  
NOT sniff the content. It's very annoying when for example you send a  
source code of a program with "HTML" inside (for templates) and that  
the browser renders it.

Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager
*** Be Strict To Be Cool ***
Received on Thursday, 30 June 2005 14:34:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:54 UTC