W3C home > Mailing lists > Public > www-style@w3.org > December 2011

Re: [css3-flexbox] flex-flow: wrap

From: Ojan Vafai <ojan@chromium.org>
Date: Wed, 7 Dec 2011 14:55:22 -0800
Message-ID: <CANMdWTteViu-sTXVXz5E_EjJUXSk=Ect4GhVgUhgufb4PjoNpg@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Alex Mogilevsky <alexmog@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
On Wed, Dec 7, 2011 at 2:44 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Wed, Dec 7, 2011 at 2:31 PM, Ojan Vafai <ojan@chromium.org> wrote:
> > On Wed, Dec 7, 2011 at 2:06 PM, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
> >> Also, now it kinda looks odd that no-wrap is the only keyword that
> >> doesn't have a -reverse variant.  Should we add one for consistency?
> >> I don't see much *use* for it, but if the lack would be confusing, we
> >> can fix it simply.
> >
> > What would nowrap-reverse do differently from nowrap?
>
> Flip the cross-axis.


Is there a use-case for this? If not, it's just confusing. Symmetry is not
worth adding confusing options that noone will understand. To be clear,
here's how things would layout on a fixed-width/height flexbox:

wrap:
|AB|
|C |
|  |

nowrap:
|AB|C
|  |
|  |

wrap-reverse:
|  |
|C |
|AB|

nowrap-reverse:
|  |
|  |
|AB|C
Received on Wednesday, 7 December 2011 22:56:15 GMT

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