W3C home > Mailing lists > Public > www-style@w3.org > July 2011

RE: background-image-frame

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Mon, 11 Jul 2011 21:43:20 +0000
To: Chris Lilley <chris@w3.org>, Tab Atkins Jr. <jackalmage@gmail.com>
CC: Andrew Fedoniouk <news@terrainformatica.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F0178290C6007@TK5EX14MBXC297.redmond.corp.microsoft.com>

[Chris Lilley:] 
> On Monday, July 11, 2011, 10:34:16 PM, Tab wrote:
> 
> TAJ> On Sat, Jul 9, 2011 at 12:47 PM, Sylvain Galineau
> TAJ> <sylvaing@microsoft.com> wrote:
> >> You can do this in IE9 using SVG; define a <viewBox> for each image,
> >> given them an ID and reference them using a fragment e.g.
> >> background-image: url('./images.svg#third-frame');
> 
> TAJ> There's no such thing as a <viewBox> element defined in SVG, as far
> TAJ> as I can tell.  Did you mean a nested <svg>, or am I just looking
> TAJ> at the wrong references?
> 
> Or did you mean the view element?
> 
> http://www.w3.org/TR/SVG/linking.html#ViewElement
> 
> more generally,
> http://www.w3.org/TR/SVG/linking.html#LinksIntoSVG
> 

That would be using the viewBox *attribute* of the view element, of course. 
My bad. So you reference the ID of the corresponding <view>.
Received on Monday, 11 July 2011 21:44:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:42 GMT