W3C home > Mailing lists > Public > www-style@w3.org > September 2009

Re: 'image-fit' vs preserveAspectRatio

From: Doug Schepers <schepers@w3.org>
Date: Tue, 29 Sep 2009 15:43:55 -0700
Message-ID: <4AC28DAB.9000402@w3.org>
To: "www-style@w3.org" <www-style@w3.org>
CC: "www-svg@w3.org" <www-svg@w3.org>
Hi, CSS WG-

We saw that you had decided on the property names 'image-fit' and 
'image-position'.  These don't make much sense in the SVG context.

We counter-propose the following options for property names, which we 
think work well with the set of value keywords ('fill', 'cover', and 
'contain') in both CSS and SVG:

'image-fit'  ->  'fit-area', 'fit-aspect-ratio' or 'fit-resize'
'image-position'  ->  'fit-position'

What do you think?

Regards-
-Doug Schepers
W3C Team Contact, SVG and WebApps WGs
Received on Tuesday, 29 September 2009 22:44:08 GMT

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