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

Re: [css3-flexbox] flex-flow bikeshed

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 30 Aug 2011 09:30:01 -0700
Message-ID: <CAAWBYDDrLD6Y-L6vi2eDcRY9aBqxn0A9kOHdvtU+8hv9rWD+sQ@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: www-style@w3.org
On Mon, Aug 29, 2011 at 4:03 PM, Ojan Vafai <ojan@chromium.org> wrote:
> flex-flow seems really complicated. Unfortunately, I don't have anything new
> arguments against having so many possible values.

I know what you mean. :/  Unfortunately, there are explicit use-cases
for nearly all of the values (and the few that weren't given explicit
use-cases are justified by consistency).

If you have an idea for a better syntax, suggest away!  Note that some
of the options that seem overly-long (like "horizontal-ltr", which
could just be "ltr") were done that way on purpose, to discourage
their use when they're not explicitly needed.  We believe that 'row'
and 'column' will usually be correct and will adjust in the way that
authors actually want, but if 'ltr' was available, they'd often reach
for that just because it's so short.

> If we're going to have all these options, we should at least be consistent
> with writing-mode. Specifically, horizontal-ltr | horizontal-rtl |
> vertical-ttb | vertical-btt, should be horizontal-lr | horizontal-rl |
> vertical-tb | vertical-bt.

Good catch.  I'll make the change.

~TJ
Received on Tuesday, 30 August 2011 16:30:48 GMT

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