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

Re: [css3-flexbox][css3-align] default alignment of a 'column wrap-reverse' flex container

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Wed, 04 Jul 2012 05:20:40 +0800
Message-ID: <4FF36228.3050902@csail.mit.edu>
To: WWW Style <www-style@w3.org>
(12/07/04 5:10), fantasai wrote:
> Oh. Well, in that case, the flex container is by default going to fill
> its containing block, so there is no alignment to consider.

By default, yes, but what about

div {
  display: flex;
  width: 50%; /* definite */
  flex-flow: column wrap-reverse;


I *think* it's weird in this case if the new flex line stacks up to the
direction where there's no space (left), but if that's the intention I
wouldn't say I couldn't live with it (honestly I don't know the use
cases of 'column wrap-reverse' anyway).

(12/07/04 5:16), Tab Atkins Jr. wrote:
> And when it doesn't fill its container, its alignment is determined by
> its container's layout mode.  The flexbox doesn't have direct control
> (in most cases) over how it's aligned in whatever its parent's layout
> mode is.

That's why I said

(12/07/04 3:47), Kang-Hao (Kenny) Lu wrote:
> Spec-wise, we could probably say 'justity-self: auto' makes the flex
> container in this case goes to the right, but since css3-flexbox has
> no normative dependency on css3-align, I am also raising this as a
> comment for css3-flexbox.

because my proposed behavior violates CSS 2.1. and, if accepted, it
needs to be specified somewhere.

Received on Tuesday, 3 July 2012 21:21:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:18 UTC