W3C home > Mailing lists > Public > www-svg@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>

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?

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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:18 UTC