W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [css-images] Overconstrained image sizing and preserving aspect ratio: the object-sizing property

From: Edward O'Connor <eoconnor@apple.com>
Date: Fri, 07 Feb 2014 15:12:00 -0800
To: www-style@w3.org
Message-id: <m2eh3e8qm7.fsf@eoconnor.apple.com>
Hi Tab,

You wrote:

> I'm thinking that we want the keyword for intrinsic AR and the keyword
> for calculated AR from width/height to be similar, and there's nothing
> to "preserve" in the latter.

Good point.

> Let's stick with the image-resolution:from-image precedent, and do
> "from-intrinsic" and "from-dimensions" (or "from-size"?) as the two
> keywords?

I like these. In particular, "aspect-ratio: from-dimensions" describes
that scenario much better than anything else that's been proposed in
this thread. Cool.


Ted
Received on Friday, 7 February 2014 23:12:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC