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

Re: [css3-background] 'background-size: auto auto' and images with intrinsic size in one dimension

From: Alan Gresley <alan@css-class.com>
Date: Tue, 09 Aug 2011 10:48:06 +1000
Message-ID: <4E4083C6.4060103@css-class.com>
To: Brian Manthos <brianman@microsoft.com>
CC: "www-style@w3.org" <www-style@w3.org>
On 9/08/2011 4:31 AM, Brian Manthos wrote:
> Arg.  Correction:
>
> "we had no SVG-provided examples of the absence of intrinsic ratio"
> should have been
> " we had no SVG-provided examples of the absence of intrinsic ratio coupled with the absence of size"
>
> In other words, I never found an example (SVG or otherwise) in IE9 that should exercise this rule:
> http://www.w3.org/TR/css3-background/#the-background-size
> # If both values are ‘auto’ then the intrinsic width and/or height
> # of the image should be used, if any. If the image has neither an
> # intrinsic width nor an intrinsic height, its size is determined as
> # for ‘contain’.
>
> -Brian


Having 'background-size: auto auto' should work the same as 
'background-size: 100% 100%' if that helps.



-- 
Alan Gresley
http://css-3d.org/
http://css-class.com/
Received on Tuesday, 9 August 2011 00:48:25 GMT

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