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

Re: [csswg-drafts] [css-flexbox] Fix comment about default `flex` values

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Tue, 14 Jun 2016 11:49:03 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-225857630-1465904942-sysbot+gh@w3.org>
> The actual issue here is that shorthand props don't _have_ initial 
values, so the 'flex' block is wrong - it should just say "see 
individual properties", like it does for all the other rows.

I think that statement is not correct, shorthands may have initial 
values, they are just normally built up by their related longhand 
values. While there is no such case I know of, e.g. `flex` could have 
had `none` as initial value.
Also, 'see individual properties' is not very expressive. (Therefore 
[MDN lists the longhands in those 
cases](https://developer.mozilla.org/en-US/docs/Web/CSS/flex).) So, 
listing the individual longhands would be better, though that's out of
 the scope of this change here.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/pull/184#issuecomment-225857630 
using your GitHub account
Received on Tuesday, 14 June 2016 11:49:05 UTC

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