Re: several messages about content sniffing in HTML

On Fri, 29 Feb 2008 10:10:46 +0100, Ian Hickson <ian@hixie.ch> wrote:
> On Tue, 22 May 2007, Anne van Kesteren wrote:
>> Style sheet loading and parsing (over HTTP). For compatibility with the
>> web it seems important to simply ignore Content-Type in all modes.
>> Firefox has some hack where they "respect" Content-Type in standards
>> mode except when the response Content-Type doesn't contain a "/" or "\".
>> For instance
>>
>>   Content-Type: "null"
>>
>> would be applied.
>
> Such a Content-Type is invalid, so it'd be like no Content-Type, which
> would be sniffed as text/css... that seems conforming to me. I just made
> the spec more explicit about this, but it was already defined that way.

Ok... Could you also define the quirks mode behavior while you're at it?  
And maybe limited quirks mode if that's affected as well (I forgot).


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Friday, 29 February 2008 11:09:08 UTC