[css3-flexbox][css3-align] default alignment of a 'column wrap-reverse' flex container from Kang-Hao (Kenny) Lu on 2012-07-03 (www-style@w3.org from July 2012) (original) (raw)
(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.
Cheers, Kenny
Received on Tuesday, 3 July 2012 21:21:07 UTC