W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2009

Re: Questions about draft-abarth-mime-sniff-00

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 6 Apr 2009 21:45:58 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
Cc: Adam Barth <w3c@adambarth.com>, Lisa Dusseault <lisa.dusseault@messagingarchitects.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <Pine.LNX.4.62.0904062144120.25058@hixie.dreamhostps.com>
On Mon, 6 Apr 2009, Anne van Kesteren wrote:
> There's also mixed cases. E.g. for <img>/background-image/etc. I believe 
> Opera first does a check if the Content-Type is image/svg+xml and then 
> falls back to sniffing. (I haven't tested this extensively, but I 
> believe this is what UAs should do for getting SVG support there.)

HTML5 right now for <img> says to use the "image sniffing rules", which 
first check for SVG and then, if the type doesn't match the SVG type, 
sniff the bytestream. If Adam's draft can become a standards-track 
document, then CSS could just defer to the same algorithm.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 6 April 2009 21:46:34 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:19 UTC