W3C home > Mailing lists > Public > public-html@w3.org > April 2007

Re: Proposed Design Principles updated

From: Elliott Sprehn <esprehn@gmail.com>
Date: Wed, 4 Apr 2007 00:45:57 -0400
Message-Id: <D6164211-7BEE-4A00-A7C0-78C9FF60D5EC@gmail.com>
Cc: Karl Dubost <karl@w3.org>, Maciej Stachowiak <mjs@apple.com>, public-html@w3.org
To: Ian Hickson <ian@hixie.ch>
Thank you for the clarification Hixie. This is where I was getting  
hung up on the proposed sniffing feature.

- Elliott Sprehn


On Apr 4, 2007, at 12:36 AM, Ian Hickson wrote:

> On Wed, 4 Apr 2007, Karl Dubost wrote:
>> Le 3 avr. 2007 à 16:26, Maciej Stachowiak a écrit :
>>> * Constraint: Data-metadata inconsistency
>>> Agents MUST NOT ignore message metadata without the consent of  
>>> the user.
>>> (The cited example of warning about or refusing to render a jpeg  
>>> with a type
>>> of image/gif would violate Don't Break The Web and is unlikely to be
>>> implemented.)
>>
>> Another *real* example where browsers content sniffing is bad in  
>> usability.
>> For example, I'm writing a blog post about HTML design. I want to  
>> show the
>> source code of an HTML file. I then use an object element and  
>> configure the
>> server to send the html file as *text/plain*
>>
>> <object data="test.html">
>>    <p>Source code of a HTML document</p>
>> </object>
>>
>> What I want to see is the source code, not the HTML.
>
> And that works, and is what HTML5 requires. Maciej's example was  
> image/foo
> getting treated as image/bar -- where's the harm in that?
>
> -- 
> Ian Hickson               U+1047E                ) 
> \._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _ 
> \  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'-- 
> (,_..'`-.;.'
Received on Wednesday, 4 April 2007 04:46:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:42 UTC