Re: [css-flexbox] webkit not wrapping with flex-wrap: 0;

On 11/11/14 4:23 PM, "Tab Atkins Jr." <> wrote:
>To resummarize:

Thanks. That re-clarifies the conflicts, though
my use case strictly involves flex: 1 1 0px;

>If you set the flex-basis to "0" (and also set the min-width to "0",
>which may be buggy in WebKit/Blink), then that's the size of the item
>at the time that wrapping occurs - 0px.  You can fit an infinite
>number of 0px items on a single line, so no wrapping occurs.  The
>property is definitely being honored, it just doesn't do anything in
>this case.
>(If I'm not addressing your issue, please gimme some example code to look

This is the reported example that behaves differently in Webkit/Safari and
others browser:

IE, FF and Chrome's current version do wrap, but Safari 7.1-8 does not,
and older prefixed Chrome versions did not either.

My assumption is the flex: 1 1 redistributing free space should make it
wrap despite flex basis of 0px. Should that example wrap or not?

It's a bad cross-compat bug when when/if using the
flex: <positive-number>; shorthand.

Received on Wednesday, 12 November 2014 01:09:13 UTC