W3C home > Mailing lists > Public > www-html@w3.org > December 2005

Re: HTML Improvement/Suggestion

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Tue, 13 Dec 2005 00:11:48 +0100
Message-ID: <20051213001148.e2rr5msgvwxs0400@webmail.annevankesteren.nl>
To: Laurens Holst <lholst@students.cs.uu.nl>
Cc: "Jukka K. Korpela" <jkorpela@cs.tut.fi>, www-html@w3.org

Quoting Laurens Holst <lholst@students.cs.uu.nl>:
>> The type attribute, if used to express the Internet media type (MIME 
>> type), reflects a wrong approach. The media type is to be known and 
>> announced by the server that delivers the object. The embedding 
>> document should just reserve space for the object (and contain 
>> fallback content to
>> be presented when the object is not available)
>
> Afaik, the type attribute (or whatever its name may be) in this case 
> means to indicate what types it accepts. So supposedly <object 
> src="bla.html" type="image/*">fallback content</object> would result 
> in the fallback content being shown, unless the server associates the 
> .html extension with an image/ type.

Really? I hope that's not true. Looking at the definition of 
"srctype"[1] (heck,
had it to be renamed?) you might be right. I'd say it is very underdefined
though.


[1]<http://www.w3.org/TR/xhtml2/mod-embedding.html#adef_embedding_srctype>


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Monday, 12 December 2005 23:11:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:04 GMT