W3C home > Mailing lists > Public > www-style@w3.org > May 2010

Re: suggestion: fixed-aspect-ratio CSS rule for block elements

From: Julien Cayzac <julien.cayzac@gmail.com>
Date: Thu, 6 May 2010 22:03:35 +0900
Message-ID: <z2k8ac6caaf1005060603uf5465f52u8e7c7c6020daeeca@mail.gmail.com>
To: www-style@w3.org
On Thu, May 6, 2010 at 3:05 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> #foo {
>  width: 400px;
>  height: auto;
>  min-height: 350px;
>  aspect-ratio: calc(4/3);
> }
>

There is no need to introduce a function, the value can be just "4/3",
as per CSS grammar:

operator: '/' S* | ',' S*;
expr: term [ operator? term ]*;

Is there a formal way to request for this to be included in a draft or
is posting on this mailing list the proper way to do so?

Thanks,
Julien.
-- 
Julien Cayzac
http://julien.cayzac.name/
skype://jcayzac?chat
Received on Thursday, 6 May 2010 13:06:42 GMT

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