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

Re: [css3-flexbox] One final round of bikeshedding on property/value names?

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Thu, 10 May 2012 15:51:28 +0800
Message-ID: <4FAB7380.1090302@csail.mit.edu>
To: WWW Style <www-style@w3.org>
(12/04/18 4:14), Kang-Hao (Kenny) Lu wrote:
> (12/04/17 8:02), Brad Kemper wrote:
>> On Apr 16, 2012, at 4:33 PM, "Tab Atkins Jr." <jackalmage@gmail.com>
>> wrote:
>>> Ojan recommends shortening the name further to just "flex", to match
>>> the prefix that all the spec's properties have.
>
> Last time I tried to recall what the value is, I got lost because
> 'block' doesn't have the "box" suffix (neither does "inline"). So,
> yeah, I think dropping the "box" is a good idea.
>
>> I like 'flex-group' for the item containing the flexors, and
>> avoiding overuse of the word "box". 'flex-group' (or 'flex-parent')
>> is more descriptive of what it is.
>
> I think flexbox will eventually reach a stage that everyone doesn't
> need the name to recall what it is and just hopes the value could
> have been as short as possible, so I think it's nice that it could be
> made shorter than "table". Also, "inline-flex-group" is a bit too
> long, although "inline-flex-group" wouldn't be as common...

(12/04/18 9:56), Alex Mogilevsky wrote:
> I actually like "display:flex". "box" suffix is not adding much
> value. And it doesn't matter if it is intuitive or not -- by the time
> somebody learns to use it, it will just be a name that is easy to
> remember.

(12/04/20 16:24), Morten Stenshorne wrote:
> FWIW, I'm somewhat in favor of 'display:flex'. It's short, and it
> doesn't have 'box' in the name. :) All we have to is get used to is the
> noun "flex", which refers to a container that holds "flex items".

I noticed that the spec changes the value to 'flex' in the end[1], and I
would like to reinforce that position. I ran a quick poll in a QQ*
channel I help running for Chinese Web developers who care about Web
standards and this is the result as of now:

1 person votes for 'display: box' and several others said they don't
like this
4 person vote for 'display: flex'
3 person vote for 'display: flex-box' (Note: not 'flexbox')

Hope that helps.


Cheers,
Kenny

[1]
http://dvcs.w3.org/hg/csswg/diff/80776fe8767b/css3-flexbox/Overview.src.html

* QQ is a IRC-like service/protocol
Received on Thursday, 10 May 2012 07:52:05 GMT

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