<picture> and image srcset/sizes (was: Re: src overriding href overriding xlink:href)

On Fri, 17 Apr 2015 22:21:56 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

...
> Alternative proposal in this vein: skip src, just add srcset.  SVG
> needs to adopt srcset anyway for all the things that can reference
> bitmap images, and the use of srcset on <img> isn't as common as src,
> so it's less likely to run afoul of this kind of hack.
>
> (Our efforts to just intermix HTML and SVG mean that we should be able
> to use the <html:picture> element directly, for more complicated
> stuff, but we still need to explicitly add srcset to the relevant SVG
> elements.)

I like both the <picture> and the srcset idea.

Are there any additional processing requirements for svg compared to  
html/css? E.g how should <picture> and srcset interact with zoom levels /  
viewBox and such?


-- 
Erik Dahlstrom, Web Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group

Received on Monday, 20 April 2015 07:56:02 UTC