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

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 UTC