W3C home > Mailing lists > Public > www-style@w3.org > November 2008

Re: [css3] "keep aspect ratio" feature

From: Zack Weinberg <zweinberg@mozilla.com>
Date: Thu, 20 Nov 2008 23:09:16 -0800
To: W3C Emailing list for WWW Style <www-style@w3.org>
Message-ID: <20081120230916.35218d9a@trurl>

Zack Weinberg <zweinberg@mozilla.com> wrote:
> Not a completely crazy idea, but you'd ultimately end up with one of
> these functions for every length property.  I think it'd be better to
> generalize immediately: prop('name') which evaluates to the computed
> value of the property named 'name', and can be used inside calc().

Or perhaps even prop(['selector',] name) -- one might want to get at
properties on a different element entirely.  (I think this is more
likely than for attr().)

Received on Friday, 21 November 2008 07:09:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:41 UTC