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

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:17:48 UTC