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

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       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 6 April 2009 21:46:34 UTC