W3C home > Mailing lists > Public > public-html@w3.org > February 2008

Re: several messages about content sniffing in HTML

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 29 Feb 2008 12:14:13 +0100
To: "Ian Hickson" <ian@hixie.ch>
Cc: "HTML WG" <public-html@w3.org>
Message-ID: <op.t699hzqd64w2qv@annevk-t60.oslo.opera.com>

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

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