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

Re: [csswg-drafts] Some property definitions for shorthands should not say 'see individual properties'

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Thu, 23 Jun 2016 11:07:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-228017827-1466680027-sysbot+gh@w3.org>
As far as I know, there is currently no shorthand having a different 
value as there longhands, though a shorthand may have an initial value
 that doesn't refer to its longhands.
Take the `flex` property as example again. It's syntax is defined as:

    none | [ <‘flex-grow’> <‘flex-shrink’>? || <‘flex-basis’> ]

It could have had `none` as initial value, which is not part of the 
longhands' syntaxes.
@fantasai, maybe you can explain why you changed the initial value of 
`flex` from 'see individual properties' to `1 0 auto` in 
https://github.com/w3c/csswg-drafts/commit/96708b92cbe29fc0eafeee451ccd2095d2c7e3a3#diff-9c5fc491cf3bc3eb549a06890ba15b4fL1482.

@frivoal what about the other property definitions mentioned above?

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/223#issuecomment-228017827 
using your GitHub account
Received on Thursday, 23 June 2016 11:07:15 UTC

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