W3C home > Mailing lists > Public > www-style@w3.org > January 2012

Re: CSS is not capable of supporting aspect ratios for elements

From: Lea Verou <leaverou@gmail.com>
Date: Thu, 05 Jan 2012 12:01:53 +0000
Message-ID: <4F059131.5030601@gmail.com>
To: mail@matthewwilcox.com
CC: Matthew Wilcox <elvendil@gmail.com>, www-style@w3.org
On 5/1/12 11:46, Matthew Wilcox wrote:
> Hi all,
>
> my apologies if this is being addressed somewhere - I had a look but
> couldn't find anything.
>
> Is there anything proposed to allow CSS to be aware of aspect ratio's
> that need to be kept? This has been a problem for me in a number of
> practical scenario's recently while implementing liquid layouts.
>
> IMGs scale proportionally with max-width. DIVs etc do not, and they
> need to sometimes.
>
> Thanks,
> Matt
>
This was discussed in December, and Tab Atkins wrote a proposal. Have a 
look: http://lists.w3.org/Archives/Public/www-style/2011Dec/0101.html

-- 
Lea Verou (http://lea.verou.me | @LeaVerou)
Received on Thursday, 5 January 2012 12:58:49 GMT

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