Re: [css3-background] background-size vs background-stretch

I think background-size is a better name.  You are specifying the size  
of the background image tile(s).  Stretch implies growth.   You can  
actually specify a size that is smaller than the intrinsic size of the  
image, in which case you aren't stretching.  You're shrinking.

dave
(hyatt@apple.com)

On Jan 18, 2008, at 2:17 PM, fantasai wrote:

>
> A comment in the spec says:
>
> # Is ‘background-stretch’ a better name? People also suggested to use
> # ‘background-stretch: none’ instead of ‘auto’ in that case.
>
> I think we should go with 'background-stretch'. It gives a clearer
> idea of what the property does: background-size could be interpreted
> as setting the size of the background area, not the size of the image.
> I'd keep 'auto' as the initial value though, especially since scalable
> images (aspect ratio, no height/width) will always be stretched.
>
> ~fantasai
>

Received on Friday, 18 January 2008 20:24:47 UTC