W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

[csswg-drafts] [css-sizing] Adding a 'size' shorthand for 'width'/'height'

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 19 Dec 2016 22:02:40 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-196532059-1482184958-sysbot+gh@w3.org>
tabatkins has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-sizing] Adding a 'size' shorthand for 'width'/'height' ==
Many people thruout the years have requested a 'size' property as a 
shorthand for 'width' and 'height', for the common cases when you want
 to set them both to the same value.  (Either making the element 
square, or making it a similar rectangle to the containing block with 
percentages, or using the same keyword for both.)

This seems mildly useful, but it has a naming problem - the @page rule
 already has a 'size' property, and it's *not* a shorthand for the 
'width' and 'height' properties @page also has. ('size' sets the size 
of the margin box, while 'width' and 'height' set the content box.)

Other suggestions for names?

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/820 using your GitHub 
account
Received on Monday, 19 December 2016 22:02:46 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:27 UTC