W3C home > Mailing lists > Public > www-style@w3.org > November 2015

Re: [css-align][css-flexbox] Should "justify-content: stretch" ever be able to make flex items grow?

From: Daniel Holbert <dholbert@mozilla.com>
Date: Wed, 11 Nov 2015 11:58:02 -0800
To: www-style list <www-style@w3.org>
Message-ID: <56439DCA.9040308@mozilla.com>
On 11/11/2015 11:50 AM, Daniel Holbert wrote:
> The css-align spec adds a new value, "justify-content: stretch", for
> stretching children to fill space in the main axis.  I think the spec
> editors didn't intend for this value to do any stretching on flex
> items.[1]  However, I believe it's currently specced such that it
> *would* impact flex item sizing.

Gah, just ran across this caveat in the spec:
  # The justify-content property applies along the
  # main axis, but since flexing in the main axis
  # is controlled by flex, stretch computes to
  # flex-start.

I think that exemption means this is not actually a problem.  So, never
mind, sorry for the spam.
Received on Wednesday, 11 November 2015 19:58:34 UTC

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