W3C home > Mailing lists > Public > www-style@w3.org > April 2016

Re: New CSS declaration for width and height

From: Matthew Robb <matthewwrobb@gmail.com>
Date: Wed, 20 Apr 2016 07:25:10 -0400
Message-ID: <CAAngBghBYcD61xRTEdXX5FxfCV52fT_YgxVMc6bQO1z8eGo10A@mail.gmail.com>
To: Marat Tanalin <mtanalin@yandex.ru>
Cc: www-style list <www-style@w3.org>, Sebastian Zartner <sebastianzartner@gmail.com>, Giovanna Ruiu <giovannaruiu6@gmail.com>, Brad Kemper <brad.kemper@gmail.com>
It would be great if size could be tied into aspect ratio. Then height and
width become long forms of size sub properties and/or aliases for size-x
and size-y.
On Apr 19, 2016 6:19 PM, "Marat Tanalin" <mtanalin@yandex.ru> wrote:

> 20.04.2016, 00:50, "Sebastian Zartner" <sebastianzartner@gmail.com>:
> > Note that there were already earlier discussions about constraining
> width and height:
> > https://lists.w3.org/Archives/Public/www-style/2014Dec/0004.html
> > https://lists.w3.org/Archives/Public/www-style/2014Dec/0290.html
> > https://lists.w3.org/Archives/Public/www-style/2012Sep/0034.html
> > https://lists.w3.org/Archives/Public/www-style/2011Aug/0562.html
>
> There is also a proposal about the `size` shorthand at WICG forum:
>
> https://discourse.wicg.io/t/1160
>
> There is also a PostCSS plugin emulating the feature:
>
> https://github.com/postcss/postcss-size
>
>
Received on Wednesday, 20 April 2016 11:25:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:38 UTC