RE: Flexbox Draft, with pictures!

Actually "flex" is not a feature of flex-box. It is something that has effect on blocks when they are inside a flex-box. Although I don't support extending "flex unit" to CSS in general, it seems reasonable that "flex" has a meaning elsewhere, e.g. within a flexible grid. That is probably how the naming got transferred from XUL to begin with.

A good name would express the way the container positions its children along one dimention. E.g. "stack". I know that has a different meaning in XUL but this is not XUL...

> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
> Behalf Of Anne van Kesteren
> Sent: Wednesday, May 26, 2010 12:52 AM
> To: Ojan Vafai; David Hyatt
> Cc: Tab Atkins Jr.; www-style list
> Subject: Re: Flexbox Draft, with pictures!
> 
> On Wed, 26 May 2010 03:00:19 +0200, David Hyatt <hyatt@apple.com>
> wrote:
> > I'm not saying "box" is great and would welcome other suggestions, but
> > flexing is a property of the children, not of the container.  The
> > container itself doesn't flex.  Calling something a "flex" because the
> > children inside it get flexed seems weird to me.
> 
> I think most authors (myself included) don't really care about the semantics
> and just want a simple memorable name. "flex" seems simpler than
> "flexbox" to me. The suffix "box" also seems weird as everything is a box
> already.
> 
> 
> --
> Anne van Kesteren
> http://annevankesteren.nl/

Received on Wednesday, 26 May 2010 08:05:51 UTC