W3C home > Mailing lists > Public > www-style@w3.org > May 2014

[css-flexbox] "special case for handling stretched flex items" text needs "cross-size:auto" qualifier

From: Daniel Holbert <dholbert@mozilla.com>
Date: Fri, 30 May 2014 14:57:21 -0700
Message-ID: <5388FEC1.3010207@mozilla.com>
To: www-style list <www-style@w3.org>
Hi www-style,

Currently, the flexbox ED has this text:

 # As a special case for handling stretched flex items, if a
 # single-line flex container has a definite cross size, the
 # outer cross size of any flex items with align-self: stretch
 # is the flex container's inner cross size (clamped to the
 # flex item's min and max cross size)

http://dev.w3.org/csswg/css-flexbox/#layout-algorithm

I think that language is a little too broad.

In particular, the phrase "any flex items with align-self: stretch" is
too broad. It needs a qualifier like:
 # ...and whose cross-size property computes to 'auto'

...because "align-self:stretch" is only supposed to have an effect for
flex items whose cross-size property is 'auto', per:
 http://dev.w3.org/csswg/css-flexbox/#valuedef-stretch0

Thanks,
~Daniel
Received on Friday, 30 May 2014 21:57:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:27 UTC