W3C home > Mailing lists > Public > www-style@w3.org > August 2011

[CSS3 Values] referencing width or height explicitly

From: Brian Manthos <brianman@microsoft.com>
Date: Fri, 19 Aug 2011 17:45:49 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D17125962@TK5EX14MBXC264.redmond.corp.microsoft.com>
http://www.w3.org/TR/css3-values/#calc

Is there a way to reference both width and height of the associated element explicitly via calc()?

If not, can we add it to the proposal list for CSS4 Values?

Having such support would allow more flexible specification of properties (such as gradients) that are sensitive to aspect ratio.  In retrospect, aspect ratio would be enough to solve some of the scenarios, but having width and height (and doing division within the calc when you want aspect ratio) is much more powerful.

[Sidenote: "W3C Working Draft 19 September 2006"..  eep!]
Received on Friday, 19 August 2011 17:46:41 GMT

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