- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 11 Nov 2014 16:23:34 -0800
- To: Bruno Racineux <bruno@hexanet.net>
- Cc: www-style <www-style@w3.org>
On Fri, Nov 7, 2014 at 12:47 AM, Bruno Racineux <bruno@hexanet.net> wrote: > After investigating the following Modernizr issue, I discovered a possible > bug in Safari/Webkit: > https://github.com/Modernizr/Modernizr/issues/1414 > > Webkit does not seem to honor 'flex-wrap' with a -webkit-flex-basis of 0 or > a 'flex: 1;' setting. > Is that a non-complaint to spec bug? Or something left unspecified. > > And is this tested in https://bugs.webkit.org/show_bug.cgi?id=136754 ? > > It appears fixed/revised in Blink, and semi fixed in Webkit: > https://bugs.webkit.org/show_bug.cgi?id=92324 > but not for `flex-basis: 0;` as per jsfiddle snapshots. 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 at.) ~TJ
Received on Wednesday, 12 November 2014 00:24:21 UTC